:root {
  --bg-color: #1A1A1A;
  --text-color: #F5F5F5;
}

* {
  font-family: 'Elms Sans', sans-serif !important;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
  box-sizing: border-box;
}

*::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
}

body,
html {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
  /* Scroll smoothing is handled by GSAP's physical scrub logic */
  overscroll-behavior: none;
  width: 100%;
  max-width: 100vw;
}

/* Global Typography Extrapolations */
h1,
h2,
h3,
h4,
h5 {
  margin: 0;
}

h1,
.h1 {
  font-family: 'Afacad', sans-serif !important;
  font-weight: 700 !important;
}

/* Medium */
h2 {
  font-family: 'Afacad', sans-serif !important;
  font-weight: 500 !important;
}

/* Light */
h3 {
  font-family: 'Elms Sans', sans-serif !important;
  font-weight: 300 !important;
}

/* Thin */
h4 {
  font-family: 'Elms Sans', sans-serif !important;
  font-weight: 100 !important;
}

/* Regular for Footer */
h5 {
  font-family: 'Elms Sans', sans-serif !important;
  font-weight: 400 !important;
}

/* Enforce strictly neutral aesthetic globally */
img,
video {
  filter: none;
  object-fit: cover;
}

/* --- I. UI COMPONENTS --- */
#nav-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  box-sizing: border-box;
  background: none;
  transition: background 0.3s;
  pointer-events: none;
}

#nav-header .logo,
#nav-header .hamburger {
  pointer-events: auto;
}

#nav-header.menu-open {
  background: transparent;
}

.hamburger {
  width: 30px;
  height: 2px;
  background: #ffffff;
  background-clip: content-box;
  padding: 12px 0;
  /* Massively expand vertical click area */
  box-sizing: content-box;
  position: relative;
  cursor: pointer;
  border: none;
  outline: none;
  mix-blend-mode: difference;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  /* Force 2px so it matches exactly */
  background: #ffffff;
  transition: 0.3s;
}

.hamburger::before {
  top: 4px;
  /* Represents 8px above the 12px content box */
}

.hamburger::after {
  top: 20px;
  /* Represents 8px below the 12px content box */
}

.hamburger.active {
  background: transparent;
}

.hamburger.active::before {
  top: 12px;
  /* Move to true center */
  transform: rotate(45deg);
}

.hamburger.active::after {
  top: 12px;
  /* Move to true center */
  transform: rotate(-45deg);
}

.logo {
  font-size: 24px;
  font-weight: 600;
  /* Semi-Bold */
  letter-spacing: 1px;
  color: #ffffff;
  mix-blend-mode: difference;
}

/* --- THE MASTER PIN WRAPPER --- */
.pin-wrapper {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Universal utility for dead-center GSAP positioning */
.center-origin {
  position: absolute;
  top: 50%;
  left: 50%;
}

/* --- II. HERO ENTRANCE --- */
.video-container {
  width: 100vw;
  height: 100vh;
  z-index: 10;
  background-color: rgba(211, 211, 211, 0.5);
  border: 6px solid transparent;
  background-clip: padding-box;
  box-sizing: border-box;
  overflow: hidden;
  will-change: width, height, transform, opacity;
}

.video-container video {
  width: 100%;
  height: 100%;
}

.hero-title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  color: #ffffff;
  z-index: 12;
  margin: 0;
  text-align: left;
  line-height: 1.1;
  letter-spacing: -2px;
  pointer-events: none;
}

/* Hidden assets pre-configured under video */
.hidden-image {
  width: 12vw;
  height: 8vw;
  z-index: 8;
  will-change: transform, width, height, opacity;
  border: 6px solid transparent;
  background-clip: padding-box;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.hidden-image img,
.mosaic-text-overlay {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

/* --- III. STAGE 2 ASSETS --- */
.secondary-text {
  font-size: 90px;
  font-weight: 600;
  z-index: 12;
  margin: 0;
  letter-spacing: -2px;
  pointer-events: none;
}

/* --- IV. STAGE 4 ASSETS --- */
.rising-asset {
  width: 100vw;
  height: 100vh;
  z-index: 5;
  /* Stays beneath the grid array */
  will-change: transform, opacity;
  object-fit: cover;
  object-position: center 20%;
}

/* --- V. MENU OVERLAY --- */
#menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: transparent;
  /* Transparent background */
  z-index: 998;
  /* Just below the header */
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  padding: 0;
  /* Margin/padding removed to be edge-to-edge */
  box-sizing: border-box;
}

#menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.menu-grid {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 0;
  /* Removing gap to avoid background color bleed */
  background-color: transparent;
  grid-template-areas:
    "about      about      about      philanthropy"
    "company    company    he-says    philanthropy"
    "company    company    they-say   they-say"
    "journey    journey    journey    journey";
}

.menu-item {
  background-color: #313131;
  /* Grey rectangles */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: -1px;
  transition: background-color 0.3s, color 0.3s;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.menu-item:hover {
  background-color: #f3823c;
  color: #313131;
}

.item-about {
  grid-area: about;
  font-size: 34px;
}

.item-philanthropy {
  grid-area: philanthropy;
  font-size: 26px;
}

.item-company {
  grid-area: company;
  font-size: 46px;
}

.item-he-says {
  grid-area: he-says;
  font-size: 20px;
}

.item-they-say {
  grid-area: they-say;
  font-size: 26px;
}

.item-journey {
  grid-area: journey;
  font-size: 54px;
}

/* --- OVERLAY TEXT FOR FINAL MOSAIC --- */
.mosaic-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  background: transparent;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  z-index: 10;
}

.mosaic-text-overlay h1 {
  font-size: clamp(12px, 1.5vw, 24px) !important;
  margin: 0;
}

.mosaic-text-overlay:hover {
  background: rgba(0, 0, 0, 0.4);
  color: #f3823c;
}

.hidden-image:has(.mosaic-text-overlay) {
  background-color: rgba(211, 211, 211, 0.5);
}

.hidden-image:has(.mosaic-text-overlay) img,
.video-container #video-replacement-photo {
  transition: opacity 0.4s ease;
}

.hidden-image:has(.mosaic-text-overlay):hover img {
  opacity: 1 !important;
}

.video-container:hover #video-replacement-photo {
  opacity: 1 !important;
}

/* --- SPA PAGE LAYERS --- */
#spa-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 900;
  /* Stays below nav-header */
  pointer-events: none;
}

.spa-page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1A1A1A;
  overflow-y: auto;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
}

.spa-page.active {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

/* SPA Interior Layout */
.hero-section {
  width: 100%;
  height: 70vh;
  position: relative;
  margin-top: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero-section img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  transform: scale(1.1);
  transition: transform 1.5s ease-out;
  object-fit: cover;
}

.spa-page.active .hero-section img {
  transform: scale(1);
}

.page-title {
  position: relative;
  z-index: 10;
  font-size: clamp(40px, 5vw, 100px);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -2px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.spa-page.active .page-title {
  opacity: 1;
  transform: translateY(0);
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 50px;
}

.intro-text {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 80px;
  letter-spacing: -1px;
  max-width: 900px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.spa-page.active .intro-text {
  opacity: 1;
  transform: translateY(0);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}

.spa-page.active .two-col {
  opacity: 1;
  transform: translateY(0);
}

.section-heading {
  font-size: 24px;
  margin-top: 50px;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.section-heading:first-child {
  margin-top: 0;
}

.text-block p {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 30px;
}

.image-block img {
  width: 100%;
  height: 600px;
  border-radius: 0;
  object-fit: cover;
}

@media (max-width: 768px) {
  .image-block img {
    height: 35vh;
  }
}



/* --- SPA CLOSE BUTTON --- */
/* --- GLOBAL FOOTER --- */
.site-footer {
  width: 100%;
  padding: 60px 10vw;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 1px solid rgba(150, 150, 150, 0.2);
  font-size: 14px;
  margin-top: 50px;
  position: relative;
  z-index: 40;
  background-color: #f3823c;
  color: #000000;
  height: 20vh;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  opacity: 0.7;
  transition: opacity 0.3s, color 0.3s;
}

.site-footer a:hover {
  opacity: 1;
  color: #ffffff;
}

.footer-left {
  opacity: 0.7;
  line-height: 1.6;
}

.footer-left strong {
  font-weight: 600;
  font-size: 16px;
}

.footer-center {
  text-align: center;
}

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



.page-close-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  justify-content: center;
}

.bottom-close-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  outline: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

.bottom-close-btn:hover {
  background: #000;
  color: #FFF;
  transform: scale(1.1);
}

/* --- CUSTOM CURSOR --- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #FFFFFF;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 9999;
  transition: width 0.3s ease, height 0.3s ease;
}

.custom-cursor.hover-active {
  width: 30px;
  height: 30px;
}

@media (min-width: 769px) {

  html,
  body,
  a,
  button,
  .bento-box,
  .ig-card,
  .menu-item {
    cursor: none !important;
  }
}

/* --- LOADER --- */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

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

.loader-percent {
  font-family: 'Afacad', sans-serif;
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 700;
  color: #fff;
}

/* --- ULISSE'S JOURNEY DARK MODE --- */
#ulisses-journey {
  background-color: #1A1A1A;
  color: #ffffff;
}

#ulisses-journey .intro-text,
#ulisses-journey .section-heading,
#ulisses-journey .text-block p {
  color: #ffffff;
}

/* light-nav backgrounds removed to keep header transparent across site */

/* --- WHAT HE SAYS - IG CARDS PAGE --- */
#what-he-says {
  background-color: #050505;
  /* dark room aesthetic */
  color: #fff;
  padding-bottom: 120px;
}

.ig-wrapper {
  max-width: 1400px;
  margin: 100px auto 0 auto;
  padding: 0 4vw;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.ig-header {
  font-size: clamp(30px, 4vw, 60px);
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0;
  color: #fff;
}

.ig-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 40px;
  perspective: 2500px;
  /* needed for 3D tilt */
}

.ig-card {
  flex: 1;
  background: #111;
  border: 1px solid #333;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
  cursor: pointer;
  position: relative;
  transform-style: preserve-3d;
}

.ig-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #f3823c;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.ig-card:hover {
  border-color: #f3823c;
  box-shadow: 0 30px 60px rgba(255, 0, 0, 0.15);
}

.ig-card:hover::before {
  transform: scaleX(1);
}

.ig-card-header {
  display: flex;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #222;
  background: #111;
}

.ig-profile {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 12px;
}

.ig-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.ig-handle {
  font-size: 14px;
  font-weight: 600;
  flex: 1;
}

.ig-icon {
  color: #666;
}

.ig-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.ig-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: filter 0.5s ease, transform 0.5s ease;
}

.ig-card:hover .ig-card-image img {
  filter: grayscale(0%);
  transform: scale(1.05);
  /* subtle inner zoom */
}

.ig-card-caption {
  padding: 15px;
  font-size: 14px;
  line-height: 1.5;
  color: #aaa;
}

.ig-card-caption strong {
  color: #fff;
  font-weight: 600;
}

.ig-anim {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

#what-i-say.active .ig-anim {
  opacity: 1;
  transform: translateY(0);
}



/* --- WHAT HE SAYS - BOOKS CARDS --- */
.books-wrapper {
  max-width: 1400px;
  margin: 100px auto 0 auto;
  padding: 0 4vw;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.books-header {
  border-top: 1px solid #333;
  padding-top: 60px;
}

.books-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 60px;
  perspective: 2500px;
  /* needed for deep 3D tilt */
}

.book-card {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform;
}

.book-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  background: #111;
  border-radius: 2px 8px 8px 2px;
  overflow: hidden;
  box-shadow: 15px 20px 40px rgba(0, 0, 0, 0.8), inset 4px 0 10px rgba(255, 255, 255, 0.1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  transform-origin: left center;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: filter 0.6s ease, opacity 0.6s ease;
  opacity: 0.6;
}

.book-title-overlay {
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  color: #fff;
  font-size: clamp(20px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  z-index: 2;
  transition: color 0.4s ease;
}

/* Simulate the 3D book spine edge */
.book-spine {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 100%;
  background: #222;
  transform-origin: left center;
  transform: rotateY(-90deg) translateX(-40px);
  transition: background 0.4s ease;
}

.book-card:hover .book-cover {
  transform: rotateY(15deg) scale(1.02);
  /* Opens the book cover slightly 3D */
  box-shadow: 25px 30px 50px rgba(255, 0, 0, 0.1), inset 4px 0 10px rgba(255, 255, 255, 0.2);
}

.book-card:hover .book-cover img {
  filter: grayscale(0%);
  opacity: 1;
}

.book-title-overlay span {
  display: block;
  transition: color 0.4s ease;
}

.book-card:hover .book-title-overlay span {
  color: #f3823c;
}

.book-info {
  margin-top: 30px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.book-info h3 {
  font-size: 24px;
  margin: 0 0 10px 0;
  color: #fff;
}

.book-info p {
  font-size: 16px;
  color: #888;
  margin: 0;
}



/* --- WHAT THEY SAY - BENTO BOX PAGE --- */
#what-they-say {
  background-color: #1A1A1A;
  color: #FFFFFF;
  padding-bottom: 120px;
}

.bento-wrapper {
  max-width: 1400px;
  margin: 100px auto 0 auto;
  padding: 0 4vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 20px;
  grid-auto-flow: dense;
}

.bento-card {
  background: #1A1A1A;
  border: 1px solid #333333;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: var(--hover-line, linear-gradient(180deg, rgba(243, 130, 60, 0.7) 0%, transparent 100%));
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: #f3823c;
}

.bento-card:hover::before {
  opacity: 1;
}

/* Layout Spans */
.bento-span-2x2 {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-span-2x1 {
  grid-column: span 2;
  grid-row: span 1;
}

.bento-span-1x2 {
  grid-column: span 1;
  grid-row: span 2;
}

.bento-span-1x1 {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-span-4x1 {
  grid-column: span 4;
  grid-row: span 1;
}





/* Content styling */
.bento-quote {
  font-family: 'Elms Sans', sans-serif !important;
  font-size: clamp(20px, 2.5vw, 40px);
  font-weight: 300 !important;
  line-height: 1.2;
  letter-spacing: -1px;
}

.bento-quote.large {
  font-size: clamp(30px, 3.5vw, 60px);
}

.bento-quote span {
  color: #f3823c;
}

.bento-author {
  font-family: 'Afacad', sans-serif !important;
  font-size: 14px;
  font-weight: 500 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999999;
  border-top: 1px solid #333333;
  padding-top: 15px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bento-tag {
  font-size: 12px;
  background: #f3823c;
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
}

.bento-media {
  padding: 0;
  display: block;
  /* override flex */
}

.bento-media img,
.bento-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s;
}

.bento-card:hover .bento-media img,
.bento-card:hover .bento-media video {
  filter: grayscale(0%);
}

/* Animation Classes */
.bento-anim {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#what-they-say.active .bento-anim {
  opacity: 1;
  transform: translateY(0);
}

/* --- PHILANTHROPY PAGE --- */
.ph-container {
  position: relative;
  width: 100vw;
  overflow: hidden;
  background: #1A1A1A;
}

.ph-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #1A1A1A;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.ph-hero-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  will-change: width, height, transform;
}

.ph-hero-title {
  position: absolute;
  width: 90vw;
  max-width: 1000px;
  text-align: center;
  color: #FFFFFF;
  font-size: clamp(20px, 3vw, 40px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  z-index: 2;
  will-change: transform;
  mix-blend-mode: difference;
}

.ph-hero-title span {
  display: block;
  margin-top: 20px;
  font-size: clamp(14px, 1.5vw, 20px);
  font-style: normal;
  opacity: 0.8;
  font-weight: 400;
}

@media (min-width: 769px) {
  #philanthropy {
    overflow: hidden !important;
  }
}

.ph-black-stage {
  position: absolute;
  top: 100vh;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #1A1A1A;
  color: #fff;
  z-index: 3;
  overflow: hidden;
}

.ph-intro {
  position: absolute;
  left: 5vw;
  top: 50vh;
  width: 40vw;
  z-index: 4;
}

.ph-intro h2 {
  font-size: clamp(24px, 4vw, 60px);
  line-height: 1;
  margin-bottom: 20px;
}

.ph-intro h3 {
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.8;
}

.ph-cluster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 5;
  perspective: 2500px;
}

.ph-proj {
  position: absolute;
  overflow: hidden;
  will-change: transform, width, height, top, left, opacity;
  border-radius: 8px;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/* --- PHILANTHROPY INDEX --- */
.ph-index {
  position: absolute;
  right: 4vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  pointer-events: auto;
  transition: opacity 0.5s ease;
}

.ph-index.active {
  opacity: 1;
}

.ph-index-item {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s, color 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: right;
}

.ph-index-item:hover,
.ph-index-item.active {
  opacity: 1;
  transform: translateX(-10px);
  color: #f3823c;
}

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

.ph-proj-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  padding: 40px;
  box-sizing: border-box;
  text-align: center;
  color: #fff;
}

.ph-proj-title {
  font-size: clamp(30px, 5vw, 80px);
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  line-height: 1.1;
}

.ph-proj-desc {
  font-size: clamp(16px, 1.5vw, 24px);
  opacity: 0;
  transform: translateY(20px);
  margin-top: 20px;
}

/* --- COMPANY & PROJECTS PAGE --- */
.cp-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #1A1A1A;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.cp-hero-img-container {
  position: absolute;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  will-change: width, height, border-radius, transform;
  z-index: 1;
  transform-style: preserve-3d;
}

.cp-hero-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  will-change: transform;
}

.cp-title-left,
.cp-title-right {
  position: relative;
  color: #FFFFFF;
  font-size: clamp(24px, 4vw, 70px);
  font-weight: 700;
  z-index: 6;
  /* stay above everything */
  will-change: transform, color;
  pointer-events: none;
  white-space: nowrap;
  mix-blend-mode: difference;
  /* Adaptive contrast */
}

.cp-title-left {
  padding-right: 1vw;
}

.cp-title-right {
  padding-left: 1vw;
}

.cp-dark-bridge {
  width: 100vw;
  height: 100vh;
  background: #E5E5E5;
  color: #1A1A1A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  position: relative;
}

.cp-dark-bridge h2 {
  font-size: clamp(30px, 3vw, 50px);
  font-weight: 700;
  max-width: 1400px;
  line-height: 1.4;
  text-align: right;
  align-self: flex-end;
  margin-right: 10vw;
  color: #f3823c;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .cp-dark-bridge h2 {
    font-size: clamp(18px, 4vw, 24px);
    margin-right: 5vw;
  }
}

.cp-gallery {
  width: 100vw;
  height: 125vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.cp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 0.5fr;
  height: 100%;
  width: 100%;
  gap: 0;
  max-width: none;
  margin: 0;
}

.cp-card-wide {
  grid-column: 1 / -1;
}

.cp-card-wide .cp-card-content {
  padding: 2vw 4vw;
}

.cp-card-wide .cp-card-desc {
  font-size: clamp(12px, 1.1vw, 16px);
  max-width: 1200px !important;
}

@media (max-width: 768px) {
  .cp-card-wide .cp-card-content {
    padding: 4vw;
  }
}

.cp-card {
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0 !important;
}



.cp-card-img-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  background: #eee;
  position: absolute;
  inset: 0;
}

.cp-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  filter: none;
  will-change: transform;
}

.cp-card-content {
  position: absolute;
  inset: 0;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4vw;
  text-align: center;
  transition: color 0.4s ease;
  z-index: 2;
}

.cp-card-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #f3823c;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.cp-card:hover .cp-card-content::before,
.cp-card.active .cp-card-content::before {
  opacity: 1;
}

.cp-card:hover .cp-card-content,
.cp-card.active .cp-card-content {
  color: #1A1A1A;
}

.cp-card-title {
  font-size: clamp(24px, 2.5vw, 40px);
  font-weight: 700;
  margin: 0;
  z-index: 2;
}

.cp-card-desc {
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.5;
  opacity: 0;
  max-width: 600px;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease, margin-top 0.4s ease;
  z-index: 2;
}

.cp-card:hover .cp-card-desc,
.cp-card.active .cp-card-desc {
  opacity: 0.9;
  max-height: 500px;
  margin-top: 15px;
}

#company-projects .site-footer {
  margin-top: 0;
}

/* Hide default cursor globally */
body,
html,
a,
.hamburger,
.bottom-close-btn {
  cursor: none !important;
}


.bento-sys {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 10vh 5vw;
  box-sizing: border-box;
  background: #1A1A1A;
  color: #F5F5F5;
}

.bento-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
  width: 100%;
  height: clamp(300px, 40vh, 500px);
  transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.bento-row.expanded {
  height: clamp(500px, 70vh, 800px);
}

.bento-box {
  flex: 1;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  color: #fff;
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), background 0.4s ease, color 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bento-box:hover,
.bento-box.expanded {
  background: #f4f4f4;
  color: #000;
}

/* Subtle inner shadow for standard cards */
.bento-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.03);
  pointer-events: none;
  transition: box-shadow 0.4s ease;
}

.bento-box:hover::after,
.bento-box.expanded::after {
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.03);
}

.bento-title {
  transition: color 0.4s ease;
}

.bento-box:hover .bento-title,
.bento-box.expanded .bento-title {
  color: #f3823c;
}

.bento-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  transition: opacity 0.6s step-end, transform 1s ease-out;
  filter: none;
  background-color: #000;
}

.bento-box.expanded .bento-img-bg {
  opacity: 0.15;
  transform: scale(1.05);
}

.bento-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: clamp(20px, 4vw, 40px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-box.expanded .bento-content {
  overflow-y: auto;
  overflow-x: hidden;
}

.bento-title {
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 0;
  transition: transform 0.6s ease;
}

.bento-details {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  display: flex;
  flex-direction: row;
  gap: 40px;
}

.bento-box.expanded .bento-details {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0.3s;
}

.bento-detail-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.bento-detail-col h4 {
  font-size: clamp(18px, 1.5vw, 24px);
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 10px;
}

.bento-box-dark .bento-detail-col h4 {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.bento-detail-col p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.7;
}

.bento-expand-icon {
  position: absolute;
  bottom: clamp(20px, 4vw, 40px);
  right: clamp(20px, 4vw, 40px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f3823c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: transform 0.4s ease, background 0.4s ease;
  z-index: 2;
}

.bento-box.expanded .bento-expand-icon {
  transform: rotate(45deg);
  background: #000;
}

.bento-box-dark.expanded .bento-expand-icon {
  background: #555;
  color: #000;
}

/* Timeline Styles */
.timeline-track::-webkit-scrollbar {
  display: none;
}

.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 160px;
  cursor: pointer;
  z-index: 1;
}

.timeline-node::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  z-index: -1;
}

.timeline-node:last-child::before {
  display: none;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  background: #111;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  z-index: 2;
}

.timeline-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  font-weight: 500;
  transition: all 0.3s ease;
}

.timeline-node:hover .timeline-dot {
  border-color: #f3823c;
  background: #f3823c;
  transform: scale(1.2);
}

.timeline-node:hover .timeline-label {
  color: #fff;
}

.timeline-node.active .timeline-dot {
  background: #f3823c;
  border-color: #f3823c;
  box-shadow: 0 0 10px rgba(243, 130, 60, 0.5);
  transform: scale(1.3);
}

.timeline-node.active .timeline-label {
  color: #f3823c;
}

/* --- TIMELINE ADAPTATION FOR LIGHT BACKGROUND (HOVER/EXPANDED) --- */
.bento-box:hover .timeline-node::before,
.bento-box.expanded .timeline-node::before {
  background: #313131;
}

.bento-box:hover .timeline-dot,
.bento-box.expanded .timeline-dot {
  border-color: #313131;
  background: #f4f4f4;
}

.bento-box:hover .timeline-label,
.bento-box.expanded .timeline-label {
  color: #313131;
}

.bento-box:hover .timeline-node:hover .timeline-label,
.bento-box.expanded .timeline-node:hover .timeline-label {
  color: #000;
}

.bento-box:hover .timeline-node.active .timeline-dot,
.bento-box.expanded .timeline-node.active .timeline-dot {
  background: #f3823c;
  border-color: #f3823c;
}

@keyframes tlFadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

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

.timeline-content-item {
  animation: tlFadeIn 0.4s ease forwards;
}

/* --- ABOUT PAGE SCROLL SECTION --- */
.obs-left {
  flex: 1;
  width: 50%;
  height: 200vh;
  display: flex;
  flex-direction: column;
}

.obs-right {
  flex: 1;
  width: 50%;
  height: 200vh;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .about-sticky {
    flex-direction: column !important;
    top: 70px !important;
    height: calc(100vh - 70px) !important;
  }

  .obs-left {
    width: 200vw !important;
    height: calc((100vh - 70px) / 2) !important;
    flex-direction: row !important;
  }

  .obs-left>div {
    width: 100vw !important;
    height: calc((100vh - 70px) / 2) !important;
  }

  .obs-right {
    width: 200vw !important;
    height: calc((100vh - 70px) / 2) !important;
    flex-direction: row !important;
  }

  .obs-right>div {
    width: 100vw !important;
    height: calc((100vh - 70px) / 2) !important;
  }

  .obs-left>div h3 {
    font-size: clamp(16px, 4vw, 22px) !important;
    margin-bottom: 10px !important;
  }

  .obs-left>div h4 {
    font-size: clamp(12px, 3.5vw, 15px) !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }
}

/* --- MOBILE CAROUSEL STYLES --- */
@media (max-width: 900px) {

  .ig-row,
  .books-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    gap: 0 !important;
    justify-content: flex-start !important;
    position: relative;
    width: 100%;
    padding-bottom: 5px;
  }

  .ig-card,
  .book-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
    transform: translateX(0);
    /* Base translate */
  }

  .ig-row,
  .books-row {
    perspective: none !important;
  }

  .ig-card,
  .book-card {
    transform-style: flat !important;
  }

  .carousel-dots-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
  }

  .carousel-dot.active {
    background: #f3823c;
    transform: scale(1.3);
  }
}

/* --- MOBILE BENTO GRID STYLES (WHAT THEY SAY) --- */
@media (max-width: 900px) {
  .bento-wrapper {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: minmax(150px, auto) !important;
  }

  /* Span 4 (full width on desktop) becomes full width on mobile (span 2) */
  .bento-span-4x1 {
    grid-column: span 2 !important;
    grid-row: span 1 !important;
  }

  /* Span 2x2 (half width, tall on desktop) becomes half width (span 1), tall on mobile */
  .bento-span-2x2 {
    grid-column: span 1 !important;
    grid-row: span 2 !important;
  }

  /* Span 2x1 (half width on desktop) becomes half width (span 1) on mobile */
  .bento-span-2x1 {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  /* Standard 1x1 or 1x2 (quarter width on desktop) becomes half width on mobile (min is 1 col) */
  .bento-span-1x1 {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .bento-span-1x2 {
    grid-column: span 1 !important;
    grid-row: span 2 !important;
  }

  /* Hide descriptions / authors on mobile as requested */
  .bento-card .bento-author,
  .bento-card .bento-desc {
    display: none !important;
  }

  /* Increase quote size slightly for better legibility on mobile */
  .bento-card .bento-quote {
    font-size: clamp(14px, 3.5vw, 18px) !important;
  }
}

/* --- MOBILE PHILANTHROPY STYLES --- */
@media (max-width: 900px) {
  .ph-index-item .ph-title {
    display: none !important;
  }

  #ph-popup {
    position: fixed !important;
    width: 100% !important;
    padding: 120px 20px 40px 65px !important;
  }

  .ph-popup-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    align-items: flex-start !important;
    overflow-y: auto !important;
  }



  .ph-popup-image {
    max-height: 40vh !important;
    margin-top: 20px !important;
  }
}

/* Abstract Orbit Animation for About Section */
.abstract-orbit-container {
  height: 100vh;
  position: relative;
  background: var(--bg-color);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring-1 {
  position: absolute;
  width: 60vh;
  height: 60vh;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: spinOrbit 20s linear infinite;
}

.orbit-ring-2 {
  position: absolute;
  width: 80vh;
  height: 80vh;
  border: 1px dashed rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  animation: spinOrbit 35s linear infinite reverse;
}

.orbit-dot {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #f3823c;
  border-radius: 50%;
  box-shadow: 0 0 20px #f3823c;
}

.orbit-dot-2 {
  position: absolute;
  bottom: 15%;
  right: -4px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px #fff;
}

.orbit-center {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 40px 15px rgba(243, 130, 60, 0.3);
}

@keyframes spinOrbit {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* --- INTRO VIDEO RESPONSIVE STYLES --- */
.desktop-video {
  display: block;
}

.mobile-video {
  display: none;
}

@media (max-width: 768px) {
  .desktop-video {
    display: none !important;
  }

  .mobile-video {
    display: block !important;
  }
}

/* --- LA ROTONDA TIMELINE --- */
.rotonda-timeline-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 20px;
  padding-bottom: 40px;
}

@media (max-width: 768px) {
  .rotonda-timeline-container {
    padding: 20px 0;
  }

  .rotonda-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .rotonda-row.reverse {
    direction: ltr;
    /* Reset to natural stacking */
  }

  .rotonda-text {
    padding: 10px 0;
    text-align: left;
  }

  .rotonda-img-wrap {
    height: 200px;
  }

  .spa-page {
    overflow-x: hidden;
  }

  .ig-wrapper {
    padding: 0 4vw;
    overflow-x: hidden;
  }

  .ph-container {
    position: relative !important;
    height: auto !important;
  }

  .ph-hero {
    position: relative !important;
    height: 100vh !important;
    overflow: hidden !important;
  }

  .ph-black-stage {
    position: relative !important;
    top: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }

  .ph-cluster {
    position: relative !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    padding: 20px !important;
    overflow-y: visible !important;
    margin-top: 100px;
  }

  .ph-proj {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: 350px !important;
    margin-bottom: 20px;
  }

  .ph-proj-content,
  .ph-proj-title,
  .ph-proj-desc {
    opacity: 1 !important;
    transform: none !important;
  }

  .ph-intro {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    padding: 20px;
    margin-top: 20vh;
  }

  #ph-scroll-wrap {
    height: auto !important;
    overflow-y: auto !important;
  }

  .ph-index {
    display: none !important;
  }

  .custom-cursor {
    display: none !important;
  }

  .page-close-container .bottom-close-btn {
    position: fixed !important;
    bottom: 20px;
    right: 20px;
    left: auto;
    transform: none !important;
    z-index: 9999;
  }

  .page-close-container {
    position: fixed;
    bottom: 0;
    right: 0;
    left: auto;
    transform: none;
    width: auto;
  }

  .item-company {
    font-size: 26px !important;
  }

  .item-journey {
    font-size: 28px !important;
  }

  .item-about {
    font-size: 20px !important;
  }

  .item-they-say {
    font-size: 16px !important;
  }

  .item-he-says {
    font-size: 14px !important;
  }

  .item-philanthropy {
    font-size: 15px !important;
  }

  .menu-item {
    padding: 10px !important;
  }

  /* Permette lo scroll all'interno della card description su mobile quando attiva */
  .cp-card.active .cp-card-desc {
    overflow-y: auto !important;
    pointer-events: auto;
    max-height: 250px;
    /* Imposta un'altezza fissa ragionevole per permettere lo scroll */
    -webkit-overflow-scrolling: touch;
    padding-right: 10px;
  }
}

.rotonda-row {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.rotonda-row.reverse {
  flex-direction: row-reverse;
}

.rotonda-text {
  flex: 1;
  min-width: 300px;
  line-height: 1.6;
  font-size: 16px;
  color: #fff;
  opacity: 0.9;
}

.rotonda-img-wrap {
  flex: 1;
  min-width: 300px;
}

.rotonda-img-wrap img {
  width: 100%;
  max-height: 400px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #1A1A1A;
  color: #fff;
  padding: 20px 5vw;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  flex: 1;
  min-width: 300px;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.8;
  margin: 0;
}

.cookie-content a {
  color: #f3823c;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

.cookie-btn {
  padding: 10px 25px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.cookie-btn-primary {
  background-color: #f3823c;
  color: #000;
}

.cookie-btn-primary:hover {
  background-color: #fff;
  color: #000;
}

.cookie-btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}