:root {
  /* Colors */
  --background: #F2F2F2;
  --background-dark: #010104;
  --text-dark: #010A14;
  --text-light: #F2F2F8;
  --midnight-blue: #0E1A25;
  --olive: #6D882B;
  --marble-100: #f3f3f3;
  --marble-200: #ABB3BA;
  --dark-marble: #58636d;
  /* UI components */
  --rainbow-gradient: linear-gradient(90deg, #00C0FF 0%, #FFCF00 49%, #FC4F4F 100%);
  /* Font Weights */
  --font-thin: 200;
  --font-regular: 300;
  --font-regular-plus: 400;
  --font-medium: 500;
  --font-medium-plus: 550;
  --font-semibold: 600;
  --font-bold: 700;
  /* Font Sizes */ /* @link https://utopia.fyi/type/calculator?c=350,14,1.2,1540,16,1.25,8,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */
  --size-minus: clamp(0.7292rem, 0.7083rem + 0.0952vw, 0.8rem);
  --size-0: clamp(0.875rem, 0.8382rem + 0.1681vw, 1rem);
  --size-1: clamp(1.05rem, 0.9912rem + 0.2689vw, 1.5rem);
  --size-2: clamp(1.26rem, 1.171rem + 0.4067vw, 1.5625rem);
  --size-3: clamp(1.512rem, 1.3823rem + 0.5931vw, 1.9531rem);
  --size-4: clamp(1.8144rem, 1.63rem + 0.843vw, 2.4414rem);
  --size-5: clamp(2.1773rem, 1.9201rem + 1.1758vw, 3.0518rem);
  --size-6: clamp(2.6127rem, 2.2592rem + 1.6161vw, 3.8147rem);
  --size-7: clamp(3.1353rem, 2.655rem + 2.1957vw, 4.7684rem);
  --size-8: clamp(3.7623rem, 3.1158rem + 2.9555vw, 5.9605rem);
  --size-extra-large: clamp(3.7623rem, 3.1158rem + 2.9555vw, 6.25rem);
  /* Spacing System */
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 6rem;
  --space-xxl: 12rem;
}

/* CSS RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  scrollbar-width: none;
}

ul, ol {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

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

input, button, textarea, select {
  font: inherit;
}

button {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  outline: none;
}

/* DECORATIVE FONT */
@font-face {
  font-family: "Metropolis";
  src: url("../assets/fonts/Metropolis-Bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
/* MEDIA QUERIES MIXINS */
/* UTILITIES */
.text-box {
  /* Use to limit how much text will extend on elements that does not require any other CSS styling */
  width: 50ch;
}

.adjust-vertical {
  /* Use to reduce vertical distance between text element without overnesting CSS and using complicated selectors */
  margin-top: -1rem;
}

/* Aspect ratios for image content */
.aspect-6-5 {
  aspect-ratio: 6/5;
}

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

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

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

/* Padding Block (vertical padding) */
.pad-block-sm {
  padding-block: var(--space-sm);
}

.pad-block-md {
  padding-block: var(--space-md);
}

.pad-block-lg {
  padding-block: var(--space-lg);
}

.pad-block-xl {
  padding-block: var(--space-xl);
}

/* Padding Inline (horizontal padding) */
.pad-inline-sm {
  padding-inline: var(--space-sm);
}

.pad-inline-md {
  padding-inline: var(--space-md);
}

.pad-inline-lg {
  padding-inline: var(--space-lg);
}

.pad-inline-xl {
  padding-inline: var(--space-xl);
}

/* Margin utilities for vertical spacing between sections */
.margin-block-sm {
  margin-block: var(--space-sm);
}

.margin-block-md {
  margin-block: var(--space-md);
}

.margin-block-lg {
  margin-block: var(--space-lg);
}

.margin-block-xl {
  margin-block: var(--space-xl);
}

/* Main Styles */
body {
  text-rendering: optimizeSpeed;
  font-family: "DM Sans", sans-serif;
  font-size: var(--size-0);
  font-weight: var(--font-regular);
  background-color: var(--background);
  color: var(--text-dark);
}

.page-headline {
  font-size: var(--size-extra-large);
  line-height: 1;
  font-weight: var(--font-regular-plus);
}
@media (max-width: 890px) {
  .page-headline {
    font-size: 4rem;
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 480px) {
  .page-headline {
    font-size: 2.75rem;
  }
}

h1 {
  font-size: var(--size-5);
  line-height: 1.25;
  font-weight: var(--font-regular-plus);
}

h2 {
  font-size: var(--size-4);
  line-height: 1.25;
  font-weight: var(--font-semibold);
  margin-bottom: 1.75rem;
}

h3 {
  font-size: var(--size-3);
  line-height: 1.15;
  font-weight: var(--font-medium);
}

p {
  font-size: var(--size-2);
  line-height: 1.6;
  font-weight: var(--font-regular-plus);
}

.p--light {
  font-weight: var(--font-regular);
  color: #e0e0e8;
}

.landing-title {
  font-size: var(--size-5);
  font-weight: var(--font-semibold);
  letter-spacing: 1px;
}

/* ------------ Layout ------------ */
.content-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 40ch; /* Limits line length to ~40 characters for readability */
  font-size: var(--size-1);
  line-height: 1.6;
  /* Text readability enhancements */
  color: rgba(0, 0, 0, 0.87);
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

/* Hero Section */
#landing-page {
  position: relative;
  overflow: hidden;
}
#landing-page .menu-trigger {
  opacity: 0;
}
@media (max-width: 1024px) {
  #landing-page .menu-trigger {
    opacity: 1;
  }
}

.hero {
  background-image: url("/assets/hero_bg.webp");
  background-size: cover;
  padding: var(--space-sm);
  will-change: filter;
  position: relative;
  min-height: 100vh;
}
@media (max-width: 1024px) {
  .hero {
    background-image: url("/assets/x6.jpg");
    padding: var(--space-xs);
  }
}

.landing-banner {
  color: rgb(18, 18, 22);
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-size: var(--size-0);
  font-weight: var(--font-medium);
  padding-right: 1.25rem;
}
@media (max-width: 1024px) {
  .landing-banner {
    flex-direction: row-reverse;
  }
}
@media (max-width: 480px) {
  .landing-banner {
    display: none;
  }
}
@media (max-width: 1024px) {
  .landing-banner .banner-info {
    opacity: 0;
  }
}
.landing-banner a {
  text-decoration: none;
  color: black;
  cursor: pointer;
  font-variation-settings: "wght" 450;
  transition: font-variation-settings 0.4s ease-out;
  text-wrap: nowrap;
}
.landing-banner a:hover {
  font-variation-settings: "wght" 550;
}
@media (max-width: 1024px) {
  .landing-banner a {
    font-size: 1.15rem;
    margin-left: 1.25rem;
    margin-top: 1.75rem;
    display: none;
  }
}

.hero__content {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__content--mobile {
  display: none;
  width: fit-content;
  position: absolute;
  right: 0;
  bottom: 3.5%;
}
@media (max-width: 1024px) {
  .hero__content--mobile {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 0.5rem;
    z-index: 2;
  }
}
.hero__content--mobile .mobile-subtitle {
  position: absolute;
  bottom: 55%;
  right: 1.5rem;
  font-weight: var(--font-medium);
  font-size: var(--size-2);
  color: rgb(14, 14, 16);
  text-align: right;
  line-height: 1.2;
  max-width: 60%;
}
@media (max-width: 480px) {
  .hero__content--mobile .mobile-subtitle {
    display: none !important;
  }
}

.hero__title {
  position: absolute;
  width: 100vw;
}

.hero__title--mobile {
  position: relative;
  width: 95vw;
  max-width: none;
  height: auto;
}

.hero__image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  height: 92.5%;
  width: auto;
  margin-left: 5rem;
  opacity: 0.98;
  will-change: opacity, transform;
}

.columns-wrapper {
  border-top: 2px solid black;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 29vh;
  z-index: 3;
  transform: translateY(100%);
  display: flex;
  will-change: transform;
}

.column {
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  display: flex;
  position: relative;
  overflow: visible;
  flex: 1;
  padding-left: 2rem;
  border-right: 1px solid rgb(0, 0, 0);
  will-change: flex-grow, filter;
  transition: flex-grow 0.25s cubic-bezier(0.33, 1, 0.68, 1), filter 0.35s cubic-bezier(0.33, 1, 0.68, 1);
}
.column h2 {
  color: rgb(0, 0, 0);
  font-weight: 550;
  line-height: 0.75;
  letter-spacing: 1px;
  font-size: var(--size-4);
}

.column[data-category=about] {
  background-image: url(/assets/x6.jpg);
  background-size: cover;
}

.column[data-category=galleries] {
  background-image: url(/assets/x4.jpg);
  background-size: cover;
}

.column[data-category=services] {
  background-image: url(/assets/x3.jpg);
  background-size: cover;
}

.column[data-category=contact] {
  background-image: url(/assets/x2.jpg);
  background-size: cover;
}

.column:hover {
  flex-grow: 1.05;
  filter: saturate(180%) sepia(30%);
}

@media (max-width: 1024px) {
  .columns-wrapper,
  .hero__image,
  .hero__title {
    display: none !important;
  }
}

/* Landing Header Component */
.header__nav {
  display: flex;
  justify-content: space-between;
}

.header__logo {
  font-size: var(--size-0);
  font-weight: var(--font-regular);
  color: inherit;
}

.header__nav-group {
  display: flex;
  gap: var(--space-lg);
  margin-left: 6em;
}

.header__nav-link {
  font-size: var(--size-0);
  font-weight: var(--font-regular);
  color: inherit;
}

.header__cta {
  font-size: var(--size-0);
  font-weight: var(--font-regular);
  color: inherit;
}

.menu-trigger {
  /* First, reset all button defaults */
  position: fixed;
  top: 2rem;
  right: 1.75rem;
  z-index: 100;
  background-color: var(--marble-100);
  border: 1px solid rgba(0, 0, 0, 0.05);
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 890px) {
  .menu-trigger {
    top: 1.75rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
  }
}

b {
  color: black;
  font-weight: var(--font-medium-plus);
}

.menu-trigger::before,
.menu-trigger::after {
  content: "";
  position: absolute;
  width: 1.6rem;
  height: 2px;
  background-color: rgb(0, 0, 0);
  /* Adjust the transform origin to ensure smooth rotation */
  transform-origin: center;
  /* Use a more sophisticated transition for smoother animation */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-trigger::before {
  transform: translateY(-4px);
}

.menu-trigger::after {
  transform: translateY(4px);
}

/* Add these new states for the open menu */
.menu-trigger[aria-expanded=true] {
  border: 1px solid rgba(0, 0, 0, 0.514);
  box-shadow: none;
}

.menu-trigger[aria-expanded=true]::before {
  transform: translateY(0) rotate(45deg);
  height: 1.5px;
}

.menu-trigger[aria-expanded=true]::after {
  transform: translateY(0) rotate(-45deg);
  height: 1.5px;
}

.menu-overlay {
  position: fixed;
  top: 0.5rem; /* Changed from 0 to add top spacing */
  right: 0.75rem; /* Changed from 0 to add right spacing */
  width: 30vw; /* Slightly reduced to account for padding */
  height: auto;
  gap: var(--space-md);
  background-color: var(--marble-100);
  border-radius: 1.5rem; /* Added rounded corners */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease-out;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-lg);
  padding-bottom: var(--space-md);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08); /* Subtle shadow */
}
@media (max-width: 1231px) {
  .menu-overlay {
    width: calc(50% - 5vw);
  }
}
@media (max-width: 890px) {
  .menu-overlay {
    width: 60vw;
    right: 0.5rem;
    padding-inline: 2.5rem;
    padding-top: 2.75rem;
  }
}
@media (max-width: 651px) {
  .menu-overlay {
    width: 80vw;
  }
}
@media (max-width: 480px) {
  .menu-overlay {
    width: 95%;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    padding-inline: 2.25rem;
  }
}
@media (max-height: 451px) and (orientation: landscape) {
  .menu-overlay {
    height: 300px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
  }
}

.menu-overlay[data-visible=true] {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.location-time {
  font-size: 1.1rem;
  color: #5c5c5c;
  margin-top: -0.5rem; /* Increased spacing */
  font-weight: var(--font-medium);
}
@media (max-width: 480px) {
  .location-time {
    font-size: 1rem;
  }
}
@media (max-height: 490px) {
  .location-time {
    display: none;
  }
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.6rem;
}
@media (max-width: 890px) {
  .menu-links {
    margin-top: 0;
  }
}

.menu-link {
  color: black;
  text-decoration: none;
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 400;
  transition: transform 0.2s ease;
}
@media (max-width: 890px) {
  .menu-link {
    font-size: var(--size-5);
  }
}

.menu-link:hover {
  transform: translateX(0.5rem);
}

.menu-social {
  display: flex;
  margin-top: 1.2rem;
  gap: 1rem;
}
@media (max-width: 890px) {
  .menu-social {
    gap: 1.25rem;
    margin-top: 0.75rem;
  }
}

.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  z-index: 98; /* Just below menu-overlay */
}

.menu-backdrop[data-visible=true] {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.social-icon {
  width: 3rem;
  height: 3rem;
  transition: all 0.35s ease;
  cursor: pointer;
}

#pinterest-icon:hover {
  fill: #0A66C2;
  transform: scale(1.15);
}

/* LinkedIn hover */
#linkedin-icon:hover {
  fill: #E60023;
  transform: scale(1.15);
}

#artstation-icon:hover {
  fill: #31ACE3;
  transform: scale(1.15);
}

#x-icon, #x-icon path {
  transition: all 0.25s ease;
}

#x-icon:hover path {
  fill: #FFEF00; /* Bright yellow for the X symbol */
}

#x-icon:hover {
  transform: scale(1.15);
}

/* LIGHT VARIANT */
.menu-trigger--light {
  /* First, reset all button defaults */
  position: fixed;
  top: 2rem;
  right: 2.25rem;
  z-index: 100;
  background-color: rgba(255, 254, 254, 0);
  border: 1px solid rgba(171, 179, 186, 0.0196078431);
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease-in;
}
@media (max-width: 890px) {
  .menu-trigger--light {
    top: 1.75rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
  }
}

.menu-trigger--light::before,
.menu-trigger--light::after {
  content: "";
  position: absolute;
  width: 1.6rem;
  height: 2px;
  background-color: rgb(255, 254, 254);
  /* Adjust the transform origin to ensure smooth rotation */
  transform-origin: center;
  /* Use a more sophisticated transition for smoother animation */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-trigger--light::before {
  transform: translateY(-4px);
}

.menu-trigger--light::after {
  transform: translateY(4px);
}

/* Add these new states for the open menu - light variant transitions to dark */
.menu-trigger--light[aria-expanded=true] {
  border: 1px solid rgba(0, 0, 0, 0.6);
}

.menu-trigger--light[aria-expanded=true]::before {
  transform: translateY(0) rotate(45deg);
  height: 1.5px;
  background-color: rgb(0, 0, 0);
}

.menu-trigger--light[aria-expanded=true]::after {
  transform: translateY(0) rotate(-45deg);
  height: 1.5px;
  background-color: rgb(0, 0, 0);
}

.menu-trigger::before {
  transform: translateY(-4px);
}

.menu-trigger::after {
  transform: translateY(4px);
}

/*              SERVICES PAGE           */
.intro--services {
  display: flex;
  flex-direction: column;
  padding-top: 12rem;
  padding-inline: 1.5rem;
  padding-bottom: 1.5rem;
  text-align: left;
  height: 87vh;
  background-size: cover;
}

.intro--services::after {
  content: "";
  position: absolute;
  inset: 0;
  bottom: -150vh; /* Adjust this value to control overlap amount */
  background-image: url("/assets/hero_bg.webp");
  background-size: contain;
  z-index: -1; /* Place it behind the content */
  animation: fadeBackground linear both;
  animation-timeline: scroll();
  animation-range: 25vh 150vh;
}

.intro--services p {
  font-size: var(--size-0);
  letter-spacing: 2px;
  margin-bottom: 0.25rem;
}

.services-wrapper {
  display: flex;
  flex-direction: column;
  padding-inline: var(--space-lg);
  gap: var(--space-md);
  position: relative;
}

.service {
  background-color: var(--background);
  width: 100%;
  padding-top: 6rem;
  padding-bottom: 4rem;
  padding-inline: 4rem;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 2px solid black;
  border-radius: 1rem;
}

.service__header {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  margin-bottom: var(--space-md);
}

.service__description {
  width: 50%;
}

.service__icon {
  width: 4rem;
  height: 3rem;
  margin-top: -0.5rem;
}

.subservices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 4rem;
  max-width: 50%;
}

.subservices__item {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 2px solid black;
  font-size: var(--size-minus);
  font-weight: var(--font-semibold);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.service__image {
  position: absolute;
  right: 7.5%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 420px;
  object-fit: contain;
  opacity: 0.9;
}
.service__image--creative-consulting {
  max-width: 380px;
}

/* ------- CTA SERVICES -------  */
.center-section {
  display: flex;
  text-align: center;
  align-items: center;
  flex-direction: column;
  gap: var(--space-lg);
}

.last-cta {
  margin-top: 9rem;
  margin-bottom: var(--space-xl);
}

.bubble {
  color: #030b3a;
  font-size: var(--size-0);
  font-weight: var(--font-medium-plus);
  letter-spacing: 1px;
  padding: 0.15rem 1rem;
  margin-bottom: -2rem;
  border: 2px solid;
  border-radius: 1rem;
  opacity: 0.85;
  text-transform: uppercase;
}

.cta-icon {
  width: 60%;
}

.cta-wrapper {
  display: inline-block; /* Aligns with rotating words */
  font-size: var(--size-6);
  vertical-align: bottom;
}

.words {
  display: inline-block;
  margin-left: 0.25rem; /* Adds some gap between the rotating words and the main line */
}

.word-container {
  display: grid;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
}
.word-container > * {
  grid-area: 1/1/2/2;
}

.rotating-word {
  display: block; /* Use block instead of inline-block to avoid inline issues */
  width: 100%;
  text-align: left;
}

.gradient-blue {
  background: linear-gradient(180deg, #6f83df 0%, #30428a 50%, #031353 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #1E47FF; /* Fallback */
  font-weight: bold;
}

.gradient-yolk {
  background: linear-gradient(180deg, #ffa51e 0%, #e88c17 50%, #cc7311 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffa51e;
  font-weight: bold;
}

.gradient-ochre {
  background: linear-gradient(180deg, #ff5500 0%, #e64b00 50%, #cc4200 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ff5500; /* Fallback */
  font-weight: bold;
}

.gradient-violet {
  background: linear-gradient(180deg, #7d00ff 0%, #6600cc 50%, #4c0099 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #7d00ff; /* Fallback */
  font-weight: bold;
}

.gradient-moss {
  background: linear-gradient(180deg, #00aa46 0%, #008c3a 50%, #006b2c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #00aa46; /* Fallback */
  font-weight: bold;
}

.cta-link {
  font-size: var(--size-5);
  font-weight: var(--font-medium);
  text-decoration-line: underline;
  text-decoration-style: solid; /* or dashed, dotted, wavy, double */
  text-decoration-color: var(--midnight-blue); /* custom color */
  text-decoration-thickness: 6px; /* control thickness */
  text-underline-position: under;
}

/*              ABOUT PAGE           */
.intro--about {
  padding-top: 16rem;
  padding-inline: 1.5rem;
  padding-bottom: 1.5rem;
}
@media (max-width: 890px) {
  .intro--about {
    padding-top: 7rem;
    padding-bottom: 0;
    padding-inline: 0.5rem;
  }
}
@media (max-width: 480px) {
  .intro--about {
    padding-bottom: 0;
    padding-inline: 0.5rem;
  }
}

.intro--about::after {
  content: "";
  position: absolute;
  inset: 0;
  bottom: -150vh; /* Adjust this value to control overlap amount */
  background-image: url("/assets/hero_bg.webp");
  background-size: contain;
  z-index: -1; /* Place it behind the content */
  animation: fadeBackground linear both;
  animation-timeline: scroll();
  animation-range: 25vh 130vh;
}

.about-img {
  width: 100%;
  animation: growImg linear both;
  animation-timeline: view(block);
  animation-range: exit-crossing 0% exit-crossing 50%;
}
@media (max-width: 890px) {
  .about-img {
    animation-name: growImg-tablet;
  }
}
.about-img img {
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: cover;
}
@media (max-width: 890px) {
  .about-img img {
    aspect-ratio: 3/2;
  }
}
@media (max-width: 480px) {
  .about-img img {
    aspect-ratio: 2/2;
  }
}

@keyframes growImg {
  from {
    opacity: 0.9;
    padding-inline: 1.5rem;
  }
  to {
    opacity: 1;
    padding-inline: 0;
  }
}
@keyframes growImg-tablet {
  from {
    opacity: 0.9;
    padding-inline: 0.5rem;
  }
  to {
    opacity: 1;
    padding-inline: 0;
  }
}
/* Expertise Section */
.expertise-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(430px, 100%), 1fr));
  padding: clamp(var(--space-md), 5vw, var(--space-xl)) clamp(var(--space-sm), 3vw, var(--space-lg));
}

.accordion {
  position: relative;
  width: 100%;
  border-top: 2px solid rgba(0, 0, 0, 0.712);
}

.accordion__wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-sm); /* Space for the line */
  margin-bottom: 0.5rem;
}

.accordion__trigger {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.accordion__trigger svg {
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion[data-expanded=true] .accordion__trigger svg {
  transform: rotate(180deg);
}

.accordion__content-hidden {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  position: absolute;
  pointer-events: none;
  transition: opacity 0.4s ease-in-out, max-height 0.4s ease-in-out;
}

.accordion[data-expanded=true] .accordion__content-hidden {
  opacity: 1;
  display: inline;
  position: static;
}

.text-muted {
  color: #9ca3af;
  font-size: var(--size-0);
  font-weight: var(--font-medium-plus);
  margin-top: var(--space-lg);
  margin-bottom: -0.75rem;
}

/* Benefits Section */
.difference-section {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(450px, 100%), 1fr));
  padding: clamp(var(--space-md), 6vw, var(--space-xl)) clamp(var(--space-sm), 3vw, var(--space-lg));
  background-color: var(--background-dark);
  color: var(--text-light);
  z-index: 1;
}

.difference__wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.difference {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* Employee Section */
.team-slider { /* Wrapper to just handle overflow/bounds and background styling */
  background-color: var(--background-dark);
  width: 100%;
  overflow: hidden;
  position: relative;
}

.team-slider__container {
  display: flex;
  padding: var(--space-xxl) var(--space-lg);
  gap: 0.5rem;
  position: relative;
  left: 0;
  transition: left 0.1s ease-out;
  user-select: none;
  width: max-content; /* Added to ensure proper width calculation and so the slider doesn't drag endlessly */
}

.employee-card {
  flex-shrink: 0; /* Added to prevent card shrinking */
  cursor: grab;
}

.employee-card figure {
  width: 410px;
  height: 580px;
  overflow: hidden;
  position: relative; /* Added for better image scaling containment */
}
@media (max-width: 890px) {
  .employee-card figure {
    width: 250px;
    height: 350px;
  }
}

.employee-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  will-change: transform; /* Added for performance optimization */
}

.employee-card figure:hover img {
  transform: scale(1.05);
}

.employee__meta {
  margin-top: var(--space-sm);
  color: white;
}

.employee__name {
  font-size: var(--size-2);
  font-weight: var(--font-medium);
}

.employee__role {
  font-size: var(--size-1);
  color: #9ca3af;
}

/*              BLOG PAGE           */
#blog-page::after {
  content: "";
  position: absolute;
  inset: 0;
  bottom: -120vh;
  background-image: url("/assets/hero_bg.jpg");
  background-size: contain;
  z-index: -1; /* Place it behind the content */
  animation: fadeBackground linear both;
  animation-timeline: scroll();
  animation-range: 5vh 95vh;
}

.intro__blog {
  padding-top: var(--space-xxl);
  padding-inline: 1.5rem;
  position: relative;
}

.intro__blog::after {
  content: "";
  position: absolute;
  bottom: -1.2rem;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: #000;
}

.blog {
  padding-inline: var(--space-md);
  padding-top: 1.5rem;
  padding-bottom: var(--space-xxl);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  row-gap: var(--space-xl);
}

.blog-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dark-marble);
  margin-bottom: var(--space-lg);
}
.blog-filters p {
  font-size: var(--size-1);
}

.blog-filter {
  background: none;
  border: none;
  margin-right: 1rem;
  font-size: var(--size-2);
  padding: 0.25rem 0;
  cursor: pointer;
  font-weight: var(--font-regular-plus);
  transition: font-variation-settings 0.3s ease;
  font-variation-settings: "wght" 400;
  text-decoration: none;
  opacity: 0.8;
}
.blog-filter sup {
  font-size: 0.9rem;
  margin-left: 0.1rem;
  opacity: 0.8;
}
.blog-filter:hover, .blog-filter.active {
  color: black;
  opacity: 1;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
}
.blog-card__media {
  aspect-ratio: 5/6;
  border-radius: 0.5rem;
  overflow: hidden;
}
.blog-card__media[data-aspect=square] {
  aspect-ratio: 1/1;
}
.blog-card__media[data-aspect=landscape] {
  aspect-ratio: 6/5;
}
.blog-card__media[data-aspect=portrait] {
  aspect-ratio: 3/4;
}
.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card__illustration {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.blog-card__illustration--bottom {
  object-position: top bottom;
}

.blog-card__content header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.blog-card__content time {
  font-size: 1.1rem;
  color: var(--dark-marble);
  font-weight: var(--font-medium);
}
.blog-card__content .blog-card__title {
  font-size: var(--size-2);
  font-weight: var(--font-medium-plus);
  margin-bottom: 0.5rem;
}
.blog-card__content .blog-card__description {
  font-size: var(--size-1);
  font-weight: var(--font-regular-plus);
  opacity: 0.75;
  max-width: 35ch;
}

.blog-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: var(--font-semibold);
  letter-spacing: 1px;
  padding: 0.2rem 0.45rem;
  border-radius: 0.75rem;
  background-color: transparent;
  border: 1px solid black;
  color: black;
  opacity: 0.8;
}
.blog-card__tag-icon {
  width: 1.1rem;
  height: 1.1rem;
}
.blog-card__tag-icon path {
  stroke: currentColor;
  stroke-width: 2;
  fill: currentColor;
}

#showcase-page {
  background-color: #000000;
}

.intro--showcase {
  display: flex;
  flex-direction: column;
  color: var(--text-light);
  padding-top: 16rem;
  padding-bottom: var(--space-xl);
  padding-inline: 1.5rem;
  z-index: 1;
}
.intro--showcase .page-headline {
  color: var(--text-light);
}
.intro--showcase p {
  font-size: var(--size-0);
  color: var(--marble-200);
  font-weight: var(--font-regular-plus);
  letter-spacing: 2px;
  line-height: 0;
  margin-bottom: 0.75rem;
  margin-left: 0.35rem;
}
@media (max-width: 890px) {
  .intro--showcase {
    padding-top: 7rem;
    padding-bottom: 3rem;
  }
}

.intro--showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/noise-pattern--light.png");
  background-size: contain;
  opacity: 0.5;
  z-index: -1;
}

.showcase-preview {
  position: relative;
  background-color: black;
}

.slider-scaffold {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
}
@media (max-width: 890px) {
  .slider-scaffold {
    height: auto;
    max-height: none;
    position: static;
  }
}

.slider-container {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  flex-wrap: nowrap;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  border-top: 1px solid black;
}
@media (max-width: 890px) {
  .slider-container {
    position: static;
    flex-direction: column;
    height: auto;
    transform: none;
    will-change: auto;
  }
}

.showcase-card {
  display: flex;
  position: relative;
  align-items: end;
  width: 90vw;
  height: 100vh;
  background: var(--midnight-blue);
  border-right: 1px solid black;
  padding-inline: var(--space-xl);
  padding-bottom: var(--space-lg);
  background-size: cover;
}
@media (max-width: 1231px) {
  .showcase-card {
    padding-inline: 4rem;
    width: 95vw;
  }
}
@media (max-width: 890px) {
  .showcase-card {
    width: 100%;
    height: 65vh;
    border-right: none;
    padding-inline: 1.5rem;
    border-bottom: 1px solid black;
    padding-bottom: var(--space-sm);
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .showcase-card {
    height: 55vh;
    padding-bottom: 0;
    padding-top: var(--space-md);
  }
}

.card-content {
  display: flex;
  position: relative;
  justify-content: space-between;
  color: var(--text-light);
  z-index: 50;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.35));
}
@media (max-width: 890px) {
  .card-content {
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
  }
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  z-index: 49;
  background: linear-gradient(to top, rgba(14, 26, 37, 0.65) 0%, rgba(14, 26, 37, 0.45) 50%, transparent 100%);
}
@media (max-width: 890px) {
  .overlay {
    display: none;
  }
}

#new-prints {
  background-image: url("/assets/new-prints__preview.jpg");
}

#wild-grandeur {
  background-image: url("/assets/wild-grandeur__preview.jpg");
}

#dark-romanticism {
  background-image: url("/assets/dark-romanticism__preview.jpg");
  background-position-y: 50%;
  background-size: cover;
}
#dark-romanticism .overlay {
  opacity: 0.5;
}
@media (max-width: 890px) {
  #dark-romanticism {
    background-position: center center;
  }
}

#ancient-rome {
  background-image: url("/assets/rome__preview.jpg");
  background-position-y: 25%;
  background-size: cover;
}

.showcase-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 55%;
}
.showcase-card__info h2 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 890px) {
  .showcase-card__info h2 {
    font-size: 2rem;
  }
}
@media (max-width: 480px) {
  .showcase-card__info h2 {
    font-size: 1.75rem;
  }
}
.showcase-card__info p {
  font-weight: var(--font-regular);
}
@media (max-width: 890px) {
  .showcase-card__info p {
    display: none;
  }
}
@media (max-width: 890px) {
  .showcase-card__info {
    width: 100%;
  }
}

.showcase-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-self: flex-end;
  width: 30%;
}
@media (max-width: 1231px) {
  .showcase-card__tags {
    display: none;
  }
}

.slider-cta {
  width: 30vw;
  background-color: fuchsia;
  height: 100vh;
  flex-shrink: 0;
}
@media (max-width: 890px) {
  .slider-cta {
    display: none;
  }
}

/*              GALLERIES           */
.gallery-page {
  background-color: #000000;
}

.page-pattern {
  position: fixed;
  inset: 0;
  background-image: url("../assets/noise-pattern--light.png");
  background-size: contain;
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
  will-change: opacity;
}
.page-pattern--japan {
  background-image: url("/assets/noise-pattern--red.png");
}
.page-pattern--wild {
  background-image: url("/assets/noise-pattern--gold.png");
}
.page-pattern--urban {
  background-image: url("/assets/noise-pattern--blue.png");
}

.gallery-headline {
  color: var(--text-light);
  font-size: 7rem;
  letter-spacing: 1rem;
  line-height: 0.85;
  font-weight: var(--font-semibold);
  text-align: center;
}
@media (max-width: 1231px) {
  .gallery-headline {
    font-size: 5rem;
    letter-spacing: 0.5rem;
  }
}
@media (max-width: 890px) {
  .gallery-headline {
    font-size: 3.5rem;
  }
}
@media (max-width: 480px) {
  .gallery-headline {
    font-size: 2.5rem;
    letter-spacing: 0.3rem;
  }
}

.gallery__header {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  gap: var(--space-md);
  padding-top: 16rem;
  padding-inline: var(--space-md);
}
@media (max-width: 890px) {
  .gallery__header {
    padding-top: 8rem;
  }
}
@media (max-width: 890px) {
  .gallery__header {
    padding-inline: var(--space-sm);
  }
}

.gallery__hero {
  width: 100%;
  height: 95vh;
  position: relative; /* Create positioning context */
  border-radius: 10px;
  overflow: hidden; /* Ensure the image respects border radius */
}
@media (max-width: 890px) {
  .gallery__hero {
    height: 55vh;
  }
}
@media (max-width: 480px) {
  .gallery__hero {
    height: 40vh;
  }
}

.gallery__hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.gallery__hero-img--dr {
  object-position: center 50%;
}
@media (max-width: 480px) {
  .gallery__hero-img {
    object-position: 25% center;
  }
}

.gallery-bio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--size-3);
  max-width: 35ch;
  margin-block: var(--space-xxl);
  margin-inline: auto;
}
.gallery-bio .gallery-banner {
  display: flex;
  gap: 1.5rem;
  margin-bottom: var(--space-sm);
  mix-blend-mode: difference;
}
.gallery-bio .gallery-banner span {
  color: #e8004d;
  font-size: 1.4rem;
  font-weight: var(--font-medium-plus);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.gallery-bio .gallery-banner .separator {
  margin-top: 0.2rem;
  height: 1.2rem;
  aspect-ratio: 0.8660254038;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background-color: #e8004d;
}
@media (max-width: 480px) {
  .gallery-bio .gallery-banner .separator {
    display: none !important;
  }
}
.gallery-bio--wild .gallery-banner span {
  color: #FF8300;
}
.gallery-bio--wild .gallery-banner .separator {
  background-color: #FF8300;
}
.gallery-bio--rome .gallery-banner span {
  color: #d60000;
}
.gallery-bio--rome .gallery-banner .separator {
  background-color: #BA0001;
}
.gallery-bio--dr .gallery-banner span {
  color: #d78808;
}
.gallery-bio--dr .gallery-banner .separator {
  background-color: #d78808;
}
.gallery-bio .p--bio {
  font-size: var(--size-4);
  font-weight: var(--font-regular);
  text-align: center;
  line-height: 1.5;
  color: var(--text-light);
  text-rendering: optimizeLegibility;
}
@media (max-width: 890px) {
  .gallery-bio {
    margin-block: var(--space-xl);
    padding-inline: var(--space-sm);
    max-width: 90%;
  }
}
@media (max-width: 480px) {
  .gallery-bio {
    max-width: none;
    align-items: left;
  }
  .gallery-bio .gallery-banner {
    gap: 1rem;
  }
  .gallery-bio .gallery-banner span {
    font-size: 1.2rem;
    letter-spacing: 1.5px;
  }
  .gallery-bio .p--bio {
    font-size: var(--size-3);
  }
}

.gallery {
  position: relative;
  padding-inline: var(--space-xl);
  display: flex;
}
@media (max-width: 890px) {
  .gallery {
    padding-inline: var(--space-md);
  }
}
@media (max-width: 480px) {
  .gallery {
    padding-inline: var(--space-sm);
  }
}

.gallery__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  justify-items: center;
}

.gallery__image--container {
  overflow: hidden;
  border-radius: 1rem;
  width: fit-content;
  max-width: 90%;
  min-height: 50vh;
  max-height: 90vh;
  margin-top: -0.25rem;
}
@media (max-width: 890px) {
  .gallery__image--container {
    max-width: 100%;
    max-height: 80vh;
    min-height: auto;
  }
}
@media (max-width: 480px) {
  .gallery__image--container {
    max-width: 100%;
    height: fit-content;
  }
}

.gallery__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex: none;
  position: relative;
}
@media (max-width: 480px) {
  .gallery__image {
    max-width: fit-content;
    height: fit-content;
  }
}

.gallery__image--container:first-child {
  margin-top: 3rem;
}
@media (max-width: 1231px) {
  .gallery__image--container:first-child {
    margin-top: 0;
  }
}

.gallery__image--container:last-child {
  margin-bottom: 0;
}

.gallery__thumbnails {
  position: sticky;
  top: var(--space-lg);
  width: 80px;
  height: 80vh;
  display: flex;
  flex-direction: column;
}
@media (max-width: 1231px) {
  .gallery__thumbnails {
    display: none !important;
  }
}

.gallery__thumb {
  max-width: 100%;
  aspect-ratio: 5/6;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: -0.75rem;
  z-index: 10;
  position: relative;
}

.gallery__thumb.active {
  opacity: 1;
  z-index: 20;
}

.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Random z-index assignments for main images */
.gallery__image--container[data-index="1"] {
  z-index: 1;
}

.gallery__image--container[data-index="2"] {
  z-index: 4;
}

.gallery__image--container[data-index="3"] {
  z-index: 6;
  margin-left: 10rem;
}

.gallery__image--container[data-index="4"] {
  z-index: 5;
  margin-left: 6rem;
}

.gallery__image--container[data-index="5"] {
  z-index: 4;
  margin-right: 12rem;
}

.gallery__image--container[data-index="6"] {
  z-index: 6;
  margin-right: 10rem;
  margin-top: 2rem;
}

.gallery__image--container[data-index="7"] {
  z-index: 5;
  margin-bottom: 2.5rem;
}

.gallery__image--container[data-index="8"] {
  z-index: 5;
  margin-right: 12rem;
}

.gallery__image--container[data-index="9"] {
  z-index: 7;
  margin-left: 6rem;
  margin-top: -1.5rem;
}

.gallery__image--container[data-index="10"] {
  z-index: 6;
  margin-left: 5rem;
  margin-bottom: 0.5rem;
}

.gallery__image--container[data-index="11"] {
  z-index: 5;
}

.gallery__image--container[data-index="12"] {
  z-index: 6;
  margin-right: 8rem;
  margin-top: 2rem;
}

.gallery__image--container[data-index="13"] {
  z-index: 7;
  margin-left: 1;
  margin-top: -0.5rem;
}

.gallery__image--container[data-index="14"] {
  z-index: 8;
  margin-right: -2rem;
  margin-top: 1rem;
}

.gallery__image--container[data-index="15"] {
  z-index: 6;
  margin-right: 8rem;
  margin-top: -0.5rem;
  margin-bottom: 1.25rem;
}

.gallery__image--container[data-index="16"] {
  z-index: 7;
  margin-right: -1rem;
}

.gallery__image--container[data-index="17"] {
  z-index: 7;
  margin-left: 4rem;
}

.gallery__image--container[data-index="18"] {
  z-index: 6;
  margin-left: 5rem;
  margin-bottom: 0.5rem;
}

.gallery__image--container[data-index="19"] {
  z-index: 5;
}

.gallery__image--container[data-index="20"] {
  z-index: 6;
  margin-right: 8rem;
  margin-top: 2rem;
}

.gallery__image--container[data-index="21"] {
  z-index: 7;
  margin-left: 1;
  margin-top: -0.5rem;
}

.gallery__image--container[data-index="22"] {
  z-index: 8;
  margin-right: -2rem;
  margin-top: 1rem;
}

.gallery__image--container[data-index="23"] {
  z-index: 6;
  margin-right: 8rem;
  margin-top: -0.5rem;
  margin-bottom: 2.5rem;
}

.gallery__image--container[data-index="24"] {
  z-index: 8;
  margin-right: -1rem;
}

.gallery__image--container[data-index="25"] {
  z-index: 7;
  margin-left: 4rem;
  margin-bottom: -2.5rem;
}

.gallery__image--container[data-index="26"] {
  z-index: 8;
  margin-left: 4rem;
}

.gallery__image--container[data-index="27"] {
  z-index: 6;
  margin-left: 5rem;
  margin-bottom: 0.5rem;
}

.gallery__image--container[data-index="28"] {
  z-index: 5;
}

.gallery__image--container[data-index="29"] {
  z-index: 6;
  margin-right: 14rem;
  margin-top: 1rem;
}

.gallery__image--container[data-index="30"] {
  z-index: 7;
  margin-left: 14rem;
  margin-top: -0.5rem;
}

.gallery__image--container[data-index="31"] {
  z-index: 8;
  margin-right: -2rem;
  margin-top: 1rem;
}

.gallery__image--container[data-index="32"] {
  z-index: 6;
  margin-right: 20rem;
  margin-top: -0.5rem;
  margin-bottom: 1.25rem;
}

.gallery__image--container[data-index="33"] {
  z-index: 7;
  margin-right: -1rem;
}

.gallery__image--container[data-index="34"] {
  z-index: 7;
  margin-left: 4rem;
}

@media (max-width: 890px) {
  .gallery__image--container {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: var(--space-sm) !important;
    z-index: auto;
  }
}

.next-projects {
  display: grid;
  margin-block: var(--space-xxl);
  gap: var(--space-lg);
}
@media (max-width: 890px) {
  .next-projects {
    padding-inline: var(--space-md);
    gap: var(--space-md);
  }
}
@media (max-width: 480px) {
  .next-projects {
    margin-block: var(--space-xl);
    padding-inline: var(--space-sm);
  }
}

.next-projects h4 {
  letter-spacing: 2px;
  font-size: var(--size-3);
  color: var(--text-light);
  justify-self: center;
  font-weight: var(--font-medium);
}

.next-projects__wrapper {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}
@media (max-width: 890px) {
  .next-projects__wrapper {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: end;
  text-align: center;
  padding-bottom: var(--space-md);
  min-width: 30%;
  aspect-ratio: 5/6;
  border-radius: 1.2rem;
  position: relative;
  overflow: hidden;
  background-color: #2a2a2a; /* Fallback color */
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}
@media (max-width: 890px) {
  .project-card {
    padding-bottom: 0;
    min-width: 80%;
    max-width: 400px;
    aspect-ratio: 16/10;
  }
}
@media (max-width: 480px) {
  .project-card {
    min-width: 100%;
    aspect-ratio: 16/9;
    border-radius: 0.8rem;
  }
}

.project-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 30%;
  width: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 0;
}

.project-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  color: white;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card--rome {
  background-image: url("../assets/collections/next--rome.jpg");
}

.project-card--dr {
  background-image: url("../assets/collections/next--dr.jpg");
}

.project-card--wild {
  background-image: url("../assets/collections/next--wild.jpg");
}

.project-card--japan {
  background-image: url("../assets/collections/next--japan.jpg");
}

.card-overlay {
  position: relative;
  display: flex;
  z-index: 1;
  padding: var(--space-md);
  text-align: center;
}

.gallery-tag {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.25rem;
  font-weight: var(--font-medium-plus);
}

.blur-backdrop {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 30%;
  z-index: -1;
  backdrop-filter: blur(0.5px);
}

#contact-us::after {
  content: "";
  position: absolute;
  inset: 0;
  bottom: -50vh; /* Adjust this value to control overlap amount */
  background-image: url("/assets/hero_bg.jpg");
  background-size: cover;
  z-index: -1; /* Place it behind the content */
  opacity: 0.5;
}

.contact-page {
  display: grid;
  grid-template-columns: 60% 40%;
  padding: var(--space-lg) var(--space-md);
  padding-bottom: 10rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form .form-group {
  width: 100%;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 1rem;
  font-size: var(--size-1);
  font-weight: var(--font-regular-plus);
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder,
.contact-form select::placeholder {
  color: rgba(0, 0, 0, 0.7);
  opacity: 0.7;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: #000;
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form .select-wrapper {
  position: relative;
}
.contact-form .select-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #000;
  pointer-events: none;
}
.contact-form .select-wrapper select {
  appearance: none;
  padding-right: 2rem;
  cursor: pointer;
}
.contact-form .submit-btn {
  width: fit-content;
  padding: 1rem 1.5rem;
  font-size: var(--size-1);
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.contact-form .submit-btn:hover {
  opacity: 0.8;
}

#store {
  overflow-x: hidden;
  background: hsl(0, 0%, 2%);
  height: 600vh; /* Extended height for scrolling, it also controls scroll speed (higher values will result in slower scrolling as the total distance is higher) */
}

.store-container {
  display: flex;
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  width: calc(100vw - 3rem);
  height: calc(100vh - 3rem);
  border-radius: 0.75rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.artwork {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2rem;
}

.artwork-title {
  position: relative;
  font-family: "Metropolis", sans-serif;
  font-size: 5.75em;
  line-height: 0.9;
  transform: translateY(-250px);
  color: var(--text-light);
  text-transform: uppercase;
  width: 90%;
  will-change: transform;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Central marker for debugging (remove in production) */
.marker {
  position: fixed;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100vh;
  background: rgba(255, 0, 0, 0.01);
  transform: translateX(-50%);
  z-index: 1000;
  pointer-events: none;
}

/* PRODUCT SUBPAGE */
#artwork-1 {
  background-image: url("../assets/placeholder.png");
  background-size: cover;
}

#artwork-page {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.marquee-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  z-index: 10;
  display: flex;
}

.running-headline {
  display: flex;
  white-space: nowrap;
  animation: marquee 100s linear infinite;
  margin-bottom: -1.5rem;
  flex-shrink: 0;
  min-width: 100%;
}

.text-item {
  flex-shrink: 0;
  font-family: "Metropolis", sans-serif;
  font-size: clamp(3rem, 10vw, 9rem);
  font-weight: var(--font-bold);
  color: white;
  text-transform: uppercase;
  padding-right: 2rem;
  line-height: 1;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
.artwork-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 50%;
  height: 100vh;
  padding: 3rem;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  z-index: 10;
  transform: translateX(100%); /* Set to 100% when ready for production */
  box-shadow: -20px 0 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Artwork header section */
.artwork-header h2 {
  font-size: clamp(2.5rem, 5vw, 3rem);
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1.1;
  font-weight: var(--font-medium-plus);
}
.artwork-header .artwork-medium {
  font-size: 1.125rem; /* 18px */
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  line-height: 1.4;
}

.artwork-bio {
  width: 90%;
  flex: 1;
}
.artwork-bio p {
  color: white;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.artwork-bio p:last-child {
  margin-bottom: 0;
}

/* Saatchi Art button */
.saatchi-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: visible;
  gap: 1rem;
  width: fit-content;
  padding: 0.5rem 1rem;
  background: #000000;
  color: white;
  text-decoration: none;
  font-weight: var(--font-medium-plus);
  font-size: 1.35rem;
  border-radius: 1rem;
  transition: transform 0.2s ease;
}

.saatchi-button::before {
  content: "";
  position: absolute;
  inset: -2.5px;
  background: linear-gradient(90deg, #00C0FF 0%, #FFCF00 49%, #FC4F4F 100%);
  border-radius: 1rem;
  z-index: -1;
}

.saatchi-logo {
  width: 2.25rem;
  height: 2.25rem;
}

/*   Decorative Elements   */
.logo-link {
  position: absolute;
  top: 2rem;
  left: 1.75rem;
  z-index: 1;
  display: inline-block;
  opacity: 0.85;
}

.logo-link svg {
  width: 2.5rem;
  height: auto;
}

.tag {
  display: inline-block;
  flex: 0 0 auto; /* This prevents stretching when the .tag is used inside a flex-container*/
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--text-light);
  font-size: var(--size-0);
  font-weight: var(--font-medium);
}

.tag--dark {
  border: 1px solid rgb(0, 0, 0);
}

/*   Graphic Elements   */
[class^=media-] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media-combo {
  display: flex;
  gap: var(--space-md);
  width: 100%;
  height: 75%;
}

.media-wide {
  width: 100%;
  aspect-ratio: 16/9; /* Control the aspect-ratio of the img independently of size */
  overflow: hidden;
}

.media-half {
  width: 50%;
  aspect-ratio: 1/1;
}

.media-square {
  width: 100%;
  aspect-ratio: 1/1;
}

.media-tall {
  width: 100%;
  aspect-ratio: 3/4;
}

@keyframes fadeBackground {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 0;
  }
}
/* ---- FOOTER ----- */
.footer {
  background-color: var(--marble-100);
  padding-top: var(--space-lg);
  padding-bottom: var(--space-sm);
  padding-inline: var(--space-md);
  height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 2px solid black;
  position: relative;
}
@media (max-width: 890px) {
  .footer {
    height: 420px;
    padding-inline: 0.75rem;
    padding-top: 1.5rem;
  }
}
@media (max-width: 480px) {
  .footer {
    height: 320px;
    padding-top: 1rem;
  }
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer__headline {
  font-size: var(--size-4);
  font-weight: var(--font-regular-plus);
  color: var(--dark-marble);
  margin-bottom: 0;
}
@media (max-width: 890px) {
  .footer__headline {
    margin-bottom: 0.75rem;
  }
}
@media (max-width: 480px) {
  .footer__headline {
    font-size: calc(var(--size-4) - 0.3rem);
    margin-bottom: 0.5rem;
  }
}

.footer__link {
  font-size: var(--size-4);
  position: relative;
  text-decoration: none;
  color: black;
  font-weight: var(--font-regular-plus);
  display: inline-block;
  padding: 2px 4px;
  transition: color 0.25s ease 0.1s;
  z-index: 1;
}
.footer__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: black;
  transition: height 0.35s ease;
  z-index: -1;
}
.footer__link:hover {
  color: white;
}
.footer__link:hover::after {
  height: 100%;
}
@media (max-width: 480px) {
  .footer__link {
    font-size: var(--size-3);
  }
}

.footer__nav-list {
  display: flex;
  gap: var(--space-md);
}
@media (max-width: 1024px) {
  .footer__nav-list {
    display: none !important;
  }
}
.footer__nav-list li a {
  color: black;
  font-size: var(--size-2);
  position: relative;
  text-decoration: none;
  font-variation-settings: "wght" 400;
  transition: font-variation-settings 0.3s ease;
}
.footer__nav-list li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background-color: black;
  transition: width 0.3s ease;
  transform: translateX(-50%);
}
.footer__nav-list li a:hover {
  font-variation-settings: "wght" 500;
}
.footer__nav-list li a:hover::after {
  width: 90%;
}

.footer__bottom {
  display: flex;
  justify-content: end;
  padding-top: var(--space-sm);
  border-top: 2px solid rgba(0, 0, 0, 0.2117647059);
}

.footer__legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  margin-bottom: 0.2rem;
  width: 100%;
}
.footer__legal .terms, .footer__legal .privacy {
  cursor: pointer;
}
.footer__legal .copyright {
  font-size: 0.9rem;
  font-weight: var(--font-regular);
  color: var(--dark-marble);
}
.footer__legal div {
  display: flex;
  gap: var(--space-sm);
}
.footer__legal div .terms, .footer__legal div .privacy {
  font-size: 0.9rem;
  font-weight: var(--font-regular-plus);
  color: var(--dark-marble);
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.footer__legal div .terms:hover, .footer__legal div .privacy:hover {
  opacity: 0.7;
}

.footer__title {
  width: 100%;
}
@media (max-width: 890px) {
  .footer__title {
    transform: scaleY(110%);
  }
}

/* Dark mode variant using custom properties */
.footer--dark {
  background-color: #000001;
  border-top-color: #939191;
}

.footer--dark .footer__headline {
  color: var(--marble-200);
}

.footer--dark .footer__link {
  color: white;
}
.footer--dark .footer__link::after {
  background-color: white;
  /* Change the underline color to white */
}
.footer--dark .footer__link:hover {
  color: black; /* Text turns black on hover */
}
.footer--dark .footer__link:hover::after {
  background-color: white; /* Keep the growing background white */
}

.footer--dark .footer__nav-list li a {
  color: white;
}
.footer--dark .footer__nav-list li a::after {
  background-color: white;
  height: 2px;
}

.footer--dark .copyright,
.footer--dark .terms {
  color: #b1b1b1;
}

.footer--dark .footer__bottom {
  border-top-color: var(--marble-200);
}

/*# sourceMappingURL=main.css.map */
