@font-face {
  font-family: "PPSupplyMono";
  src: url("https://assets.codepen.io/7558/PPSupplyMono-Regular.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --font-primary: "PPSupplyMono", "Courier New", monospace;
  --text-color: rgba(245, 245, 245, 0.9);
  --warm-off-black: #1a1917;
  --warm-off-white: #f8f5f2;
  
  /* Spacing System - Generous Layout */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;
  --space-3xl: 12rem;
  
  /* Page Margins */
  --page-margin: 6rem;
  --page-margin-mobile: 2rem;
  
  /* Section Spacing */
  --section-gap: 10rem;
  --content-max-width: 1400px;
  
  /* Cookie Banner Colors */
  --cookie-bg: rgba(24, 24, 27, 0.8);
  --cookie-border: rgba(255, 255, 255, 0.1);
  --cookie-text: #fafafa;
  --cookie-muted: rgba(250, 250, 250, 0.6);
  --cookie-primary: #fafafa;
  --cookie-secondary: rgba(255, 255, 255, 0.1);
}

/* ==================== COOKIE CONSENT BANNER ==================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.cookie-glass-panel {
  background: var(--cookie-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--cookie-border);
  border-radius: 12px;
  padding: 24px;
  max-width: 380px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cookie-title {
  font-family: 'PP Neue Montreal', Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--cookie-text);
  margin: 0;
  text-transform: none;
}

.cookie-description {
  font-family: 'PP Neue Montreal', Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--cookie-muted);
  line-height: 1.5;
  margin: 0;
  text-transform: none;
}

.cookie-link {
  color: var(--cookie-muted);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.cookie-link:hover {
  color: var(--cookie-text);
}

.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.cookie-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-family: 'PP Neue Montreal', Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: none;
  border: none;
  border-radius: 6px;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease;
  flex: 1;
  height: 38px;
}

.cookie-btn .btn-text-primary,
.cookie-btn .btn-text-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 38px;
  padding: 10px 16px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-btn .btn-text-primary {
  position: relative;
}

.cookie-btn .btn-text-secondary {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
}

.cookie-btn:hover .btn-text-primary {
  transform: translateY(-100%);
}

.cookie-btn:hover .btn-text-secondary {
  transform: translateY(-100%);
}

.cookie-btn-primary {
  background: var(--cookie-primary);
  color: #18181b;
}

.cookie-btn-primary:hover {
  background: #e4e4e7;
}

.cookie-btn-secondary {
  background: var(--cookie-secondary);
  color: var(--cookie-text);
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.cookie-btn-ghost {
  background: transparent;
  color: var(--cookie-text);
  width: 100%;
}

.cookie-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Mobile responsive */
@media screen and (max-width: 479px) {
  .cookie-banner {
    bottom: 16px;
    left: 16px;
    right: 16px;
  }
  
  .cookie-glass-panel {
    max-width: 100%;
    padding: 20px;
  }
  
  .cookie-btn {
    padding: 12px 16px;
  }
}

/* ==================== HOW IT WORKS SECTION ==================== */
.how-it-works {
  --hiw-accent: #c5ff4a;
  --hiw-muted: #3d3d3d;
  --hiw-bg: #0a0a0a;
  --hiw-text: #fafafa;
  --hiw-text-muted: rgba(250, 250, 250, 0.6);
  
  position: relative;
  background: var(--hiw-bg);
  padding: 0;
  z-index: 50;
  overflow: hidden;
}

.how-it-works-scroll-wrap {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--hiw-bg);
}

.how-it-works-mobile-title {
  display: none;
  font-family: 'PP Neue Montreal', Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--hiw-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.how-it-works-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 8rem);
  max-width: 1400px;
  height: auto;
  min-height: 500px;
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  gap: 2rem;
  padding: 3rem;
  border-radius: 24px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.how-it-works-card:not(.current) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.how-it-works-card.current {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.how-it-works-card.previous {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.95) translateY(-30px);
}

.how-it-works-card.next {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.95) translateY(30px);
}

.how-it-works-background {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  z-index: -1;
}

.how-it-works-desktop-title {
  position: absolute;
  top: 3rem;
  left: 3rem;
  font-family: 'PP Neue Montreal', Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--hiw-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.how-it-works-card-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 2rem;
}

.how-it-works-header {
  margin-bottom: 2rem;
}

.progress-matrix {
  margin-bottom: 1.5rem;
}

.progress-matrix svg {
  width: 56px;
  height: 56px;
}

.progress-matrix .progress-col-1 {
  color: var(--hiw-accent);
}

.progress-matrix .progress-col-2 {
  color: var(--hiw-muted);
}

.progress-matrix .progress-col-3 {
  color: var(--hiw-muted);
}

.progress-matrix .progress-lines {
  color: var(--hiw-muted);
  opacity: 0.3;
}

.how-it-works-title {
  font-family: 'PP Neue Montreal', Arial, sans-serif;
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 500;
  color: var(--hiw-text);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-transform: none;
}

.how-it-works-subtitle {
  font-family: 'PP Neue Montreal', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--hiw-text-muted);
  text-transform: none;
}

.how-it-works-body {
  position: relative;
}

.how-it-works-body p {
  font-family: 'PP Neue Montreal', Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--hiw-text-muted);
  line-height: 1.7;
  max-width: 400px;
  text-transform: none;
}

.how-it-works-number {
  display: block;
  margin-top: 2rem;
  font-family: 'PP Neue Montreal', Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--hiw-text-muted);
  text-transform: none;
}

.how-it-works-card-middle {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bar-level {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 300px;
  justify-content: center;
}

.bar-level .bar {
  width: 60px;
  height: 4px;
  background: var(--hiw-muted);
  border-radius: 2px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.bar-level .bar.filled {
  background: var(--hiw-accent);
}

.how-it-works-card-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-it-works-img-wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
}

.how-it-works-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.how-it-works-card.current .how-it-works-img-wrap img {
  filter: grayscale(0%);
}

.how-it-works-frame {
  position: absolute;
  inset: -20px;
  pointer-events: none;
}

.how-it-works-frame svg {
  position: absolute;
  width: 17px;
  height: 16px;
  color: var(--hiw-text-muted);
  opacity: 0.5;
}

.how-it-works-frame svg:nth-child(1) {
  top: 0;
  left: 0;
}

.how-it-works-frame svg:nth-child(2) {
  top: 0;
  right: 0;
}

.how-it-works-frame svg:nth-child(3) {
  bottom: 0;
  left: 0;
}

.how-it-works-frame svg:nth-child(4) {
  bottom: 0;
  right: 0;
}

/* Mobile Responsive */
@media screen and (max-width: 991px) {
  .how-it-works-card {
    grid-template-columns: 1fr;
    width: calc(100% - 4rem);
    padding: 2rem;
    gap: 1.5rem;
  }
  
  .how-it-works-card-middle {
    display: none;
  }
  
  .how-it-works-card-right {
    display: none;
  }
  
  .how-it-works-desktop-title {
    display: none;
  }
  
  .how-it-works-mobile-title {
    display: block;
    position: absolute;
    top: 2rem;
    left: 2rem;
  }
  
  .how-it-works-title {
    font-size: clamp(36px, 10vw, 56px);
  }
}

@media screen and (max-width: 479px) {
  .how-it-works-card {
    width: calc(100% - 2rem);
    padding: 1.5rem;
    min-height: 400px;
  }
  
  .how-it-works-body p {
    font-size: 14px;
  }
}

/* ==================== ABOUT SECTION WITH STATS & TESTIMONIALS ==================== */
.about-section {
  --about-bg: #0a0a0a;
  --about-text: #fafafa;
  --about-text-muted: rgba(250, 250, 250, 0.6);
  --about-accent: #c5ff4a;
  --about-card-bg: rgba(255, 255, 255, 0.03);
  --about-card-border: rgba(255, 255, 255, 0.08);
  
  position: relative;
  background: var(--about-bg);
  padding: 8rem 4rem;
  z-index: 50;
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
}

.about-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

/* Grid Layout */
.about-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  align-items: start;
}

/* Stats Grid */
.about-grid-stats {
  align-items: stretch;
}

.about-title-block {
  grid-column: span 3;
  display: flex;
  align-items: flex-start;
}

.about-heading-wrap {
  overflow: hidden;
}

.about-heading {
  font-family: 'PP Neue Montreal', Arial, sans-serif;
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 500;
  color: var(--about-text);
  line-height: 1.1;
  text-transform: none;
  margin: 0;
  overflow: hidden;
}

.about-heading .char {
  display: inline-block;
  will-change: transform, opacity;
}

/* Stat Cards */
.about-stat-card {
  grid-column: span 3;
  background: var(--about-card-bg);
  border: 1px solid var(--about-card-border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 200px;
  will-change: transform, opacity;
  overflow: visible;
}

.stat-heading-wrap {
  overflow: hidden;
  padding-bottom: 5px;
}

.stat-number {
  font-family: 'PP Neue Montreal', Arial, sans-serif;
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 500;
  color: var(--about-text);
  line-height: 1;
  margin: 0;
  text-transform: none;
  overflow: visible;
  display: flex;
  align-items: baseline;
}

.stat-count {
  display: inline-block;
  will-change: transform, opacity;
  min-width: 0.6em;
}

.stat-suffix {
  display: inline-block;
  will-change: transform, opacity;
  color: var(--about-accent, #c5ff4a);
}

.stat-label-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.stat-label {
  font-family: 'PP Neue Montreal', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--about-text-muted);
  text-transform: none;
  text-align: right;
}

/* Paragraph Section */
.about-subtitle-block {
  grid-column: span 3;
}

.about-subtitle {
  font-family: 'PP Neue Montreal', Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--about-text-muted);
  letter-spacing: 0.05em;
  text-transform: none;
}

.about-subtitle .char {
  display: inline;
}

.about-paragraph-wrap {
  grid-column: span 9;
}

.about-paragraph {
  font-family: 'PP Neue Montreal', Arial, sans-serif;
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 400;
  color: var(--about-text);
  line-height: 1.6;
  text-transform: none;
  margin: 0;
  text-align: justify;
}

.about-paragraph .word {
  display: inline-block;
  margin-right: 0.25em;
}

/* Testimonials Section */
.testimonials-slider-wrap {
  grid-column: span 9;
  position: relative;
  overflow: hidden;
}

.testimonials-slider {
  position: relative;
  width: 100%;
  overflow: visible;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  cursor: grab;
  will-change: transform;
}

.testimonials-track:active {
  cursor: grabbing;
}

.testimonial-slide {
  flex: 0 0 100%;
  max-width: 600px;
  position: relative;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.testimonial-slide-shadow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.testimonial-card {
  background: var(--about-card-bg);
  border: 1px solid var(--about-card-border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

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

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-name {
  font-family: 'PP Neue Montreal', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--about-text);
  text-transform: none;
}

.testimonial-company {
  font-family: 'PP Neue Montreal', Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--about-text-muted);
  text-transform: none;
}

.testimonial-bottom {
  position: relative;
}

.testimonial-text {
  font-family: 'PP Neue Montreal', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--about-text);
  line-height: 1.6;
  text-transform: none;
  margin: 0;
  padding-right: 3rem;
}

.testimonial-quote-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  color: var(--about-text-muted);
  opacity: 0.3;
}

.testimonial-quote-icon svg {
  width: 32px;
  height: 32px;
}

/* Pagination Dots */
.testimonials-pagination {
  display: flex;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-top: 2rem;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.pagination-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--about-text-muted);
  opacity: 0.3;
  cursor: pointer;
  transition: opacity 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.pagination-dot:hover {
  opacity: 0.6;
}

.pagination-dot.active {
  opacity: 1;
  background: var(--about-accent);
  transform: scale(1.2);
}

/* Mobile Responsive */
@media screen and (max-width: 991px) {
  .about-section {
    padding: 4rem 2rem;
  }
  
  .about-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .about-title-block {
    grid-column: span 6;
    margin-bottom: 1rem;
  }
  
  .about-stat-card {
    grid-column: span 2;
  }
  
  .about-subtitle-block {
    grid-column: span 6;
  }
  
  .about-paragraph-wrap {
    grid-column: span 6;
  }
  
  .testimonials-slider-wrap {
    grid-column: span 6;
  }
}

@media screen and (max-width: 767px) {
  .about-stat-card {
    grid-column: span 3;
  }
  
  .stat-number {
    font-size: clamp(40px, 12vw, 64px);
  }
  
  .testimonial-slide {
    max-width: 100%;
  }
}

@media screen and (max-width: 479px) {
  .about-section {
    padding: 3rem 1rem;
  }
  
  .about-content-wrap {
    gap: 4rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .about-title-block,
  .about-stat-card,
  .about-subtitle-block,
  .about-paragraph-wrap,
  .testimonials-slider-wrap {
    grid-column: span 1;
  }
  
  .about-stat-card {
    min-height: auto;
    padding: 1.5rem;
  }
  
  .stat-label-wrap {
    align-items: flex-start;
  }
  
  .stat-label {
    text-align: left;
  }
  
  .testimonial-text {
    font-size: 16px;
  }
}

/* ==================== SERVICES SECTION ==================== */
.services-section {
  position: relative;
  padding: 140px 0;
  background: #0a0a0a;
  overflow: hidden;
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

/* Services Header */
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.services-header-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.services-eyebrow {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  color: rgba(250, 250, 250, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.services-title {
  font-family: var(--font-secondary);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 500;
  color: #fafafa;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.9;
  margin: 0;
}

.services-header-right {
  max-width: 320px;
}

.services-description {
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(250, 250, 250, 0.5);
  text-transform: none;
  text-align: right;
  margin: 0;
}

/* Services Accordion */
.services-accordion {
  display: flex;
  flex-direction: column;
}

.accordion-item {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.accordion-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Accordion Header */
.accordion-header {
  display: grid;
  grid-template-columns: 60px 1fr auto 60px;
  align-items: center;
  gap: 30px;
  padding: 35px 0;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-header:hover {
  padding-left: 20px;
}

.accordion-number {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 500;
  color: rgba(250, 250, 250, 0.3);
  letter-spacing: 0.05em;
}

.accordion-title {
  font-family: var(--font-secondary);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 500;
  color: #fafafa;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0;
  transition: all 0.4s ease;
}

.accordion-header:hover .accordion-title {
  color: rgba(250, 250, 250, 0.7);
}

.accordion-item.is-open .accordion-title {
  color: #fafafa;
}

.accordion-meta {
  display: flex;
  gap: 10px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s ease;
}

.accordion-header:hover .accordion-meta,
.accordion-item.is-open .accordion-meta {
  opacity: 1;
  transform: translateX(0);
}

.accordion-tag {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 500;
  color: rgba(250, 250, 250, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

/* Toggle Button */
.accordion-toggle {
  width: 48px;
  height: 48px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-header:hover .accordion-toggle {
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.toggle-line {
  position: absolute;
  width: 16px;
  height: 2px;
  background: #fafafa;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-line:last-child {
  transform: rotate(90deg);
}

.accordion-item.is-open .toggle-line:last-child {
  transform: rotate(0deg);
  opacity: 0;
}

.accordion-item.is-open .accordion-toggle {
  transform: rotate(180deg);
  background: rgba(255, 255, 255, 0.1);
}

/* Accordion Content */
.accordion-content {
  height: 0;
  overflow: hidden;
}

.accordion-content-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 0 0 50px 90px;
  opacity: 0;
  transform: translateY(30px);
}

.accordion-item.is-open .accordion-content-inner {
  opacity: 1;
  transform: translateY(0);
}

/* Accordion Left Content */
.accordion-left {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.accordion-text {
  font-family: var(--font-primary);
  font-size: 17px;
  line-height: 1.7;
  color: rgba(250, 250, 250, 0.6);
  text-transform: none;
  max-width: 480px;
  margin: 0;
}

.accordion-services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.accordion-service-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.col-label {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 600;
  color: rgba(250, 250, 250, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.accordion-service-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-service-col li {
  font-family: var(--font-primary);
  font-size: 14px;
  color: rgba(250, 250, 250, 0.7);
  text-transform: none;
  position: relative;
  padding-left: 16px;
}

.accordion-service-col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  background: rgba(250, 250, 250, 0.3);
  border-radius: 50%;
}

/* Accordion Right - Image */
.accordion-right {
  display: flex;
  align-items: flex-start;
}

.accordion-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.accordion-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-image:hover img {
  transform: scale(1.08);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.accordion-image:hover .image-overlay {
  opacity: 1;
  transform: translateY(0);
}

.image-overlay span {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 500;
  color: #fafafa;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.image-overlay svg {
  width: 18px;
  height: 18px;
  color: #fafafa;
}

/* Services CTA */
.services-cta {
  display: flex;
  justify-content: center;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.services-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 60px;
  color: #fafafa;
  text-decoration: none;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.services-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fafafa;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.services-cta-btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.services-cta-btn span {
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.services-cta-btn:hover span {
  color: #0a0a0a;
}

.cta-arrow {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.4s ease;
}

.services-cta-btn:hover .cta-arrow {
  background: rgba(0, 0, 0, 0.1);
  transform: translateX(5px);
}

.cta-arrow svg {
  width: 20px;
  height: 20px;
  transition: all 0.4s ease;
}

.services-cta-btn:hover .cta-arrow svg {
  color: #0a0a0a;
}

/* Services Responsive */
@media (max-width: 1200px) {
  .services-container {
    padding: 0 40px;
  }
  
  .accordion-content-inner {
    padding-left: 60px;
  }
}

@media (max-width: 1024px) {
  .accordion-content-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-left: 0;
  }
  
  .accordion-image {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 100px 0;
  }
  
  .services-container {
    padding: 0 24px;
  }
  
  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 60px;
  }
  
  .services-header-right {
    max-width: none;
  }
  
  .services-description {
    text-align: left;
  }
  
  .accordion-header {
    grid-template-columns: 40px 1fr 40px;
    gap: 16px;
    padding: 24px 0;
  }
  
  .accordion-meta {
    display: none;
  }
  
  .accordion-header:hover {
    padding-left: 10px;
  }
  
  .accordion-toggle {
    width: 40px;
    height: 40px;
  }
  
  .toggle-line {
    width: 12px;
  }
  
  .accordion-content-inner {
    padding: 0 0 40px 0;
  }
  
  .accordion-services-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .services-cta {
    margin-top: 60px;
    padding-top: 40px;
  }
  
  .services-cta-btn {
    padding: 16px 32px;
  }
}

@media (max-width: 480px) {
  .accordion-title {
    font-size: 1.25rem;
  }
  
  .accordion-number {
    font-size: 11px;
  }
  
  .accordion-text {
    font-size: 15px;
  }
}

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

body {
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  font-family: var(--font-primary);
  text-transform: uppercase;
  font-size: 11px;
  color: var(--text-color);
  line-height: 1.2;
  background: #0a0a0a;
}

/* GSAP Pin Spacer Background Fix */
.pin-spacer {
  background: #0a0a0a !important;
}

/* Noise texture overlay - low z-index so it doesn't block interaction */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://assets.codepen.io/7558/noise-002.png");
  background-repeat: repeat;
  opacity: 0.03;
  z-index: -1;
  pointer-events: none;
}

/* ==================== LIQUID ANIMATION CANVAS ==================== */
#liquid-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.4;
}

/* Three.js main canvas styling - fixed behind everything */
body > canvas:not(#Canvas):not(#liquid-canvas) {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: -1 !important;
  display: block;
  pointer-events: none !important;
}

/* Text animation canvas - visible and centered */
#Canvas {
  display: block;
  width: 720px;
  height: 405px;
  max-width: 90vw;
  background: transparent;
}

/* ==================== HEADER / NAVIGATION ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: transparent;
  z-index: 100;
  padding: 0;
  display: flex;
  align-items: center;
}

.header-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0 2rem;
  width: 100%;
  height: 100%;
}

.logo-container {
  grid-column: 1 / 3;
  position: relative;
  display: flex;
  align-items: center;
  height: 2rem;
}

.logo-circles {
  position: relative;
  width: 100%;
  height: 100%;
}

.circle {
  position: absolute;
  border-radius: 50%;
  transition: transform 0.5s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  width: 1.8rem;
  height: 1.8rem;
  background-color: var(--text-color);
  top: 50%;
}

.circle-1 {
  left: 0;
  transform: translate(0, -50%);
}

.circle-2 {
  left: 1rem;
  transform: translate(0, -50%);
  mix-blend-mode: exclusion;
}

.logo-container:hover .circle-1 {
  transform: translate(-0.5rem, -50%);
}

.logo-container:hover .circle-2 {
  transform: translate(0.5rem, -50%);
}

.main-nav {
  grid-column: 4 / 8;
  position: relative;
}

.mobile-nav-knob {
  display: none;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.main-nav li {
  position: relative;
}
.main-nav a {
  color: #000000;
  text-decoration: none;
  font-size: 12px;
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  position: relative;
  padding-left: 8px;
  transition: color 0.3s ease;
}

.nav-icon {
  display: none;
}

.nav-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.nav-label {
  display: inline-block;
}

.nav-hover-square {
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 4px;
  background: #000000;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  transition: background 0.3s ease;
}

/* Scrolled state - white colors */
.site-header.scrolled .main-nav a {
  color: #ffffff;
}

.site-header.scrolled .nav-hover-square {
  background: #ffffff;
}

.site-header.scrolled .contact-link a {
  color: #ffffff;
}

.site-header.scrolled .circle {
  background-color: #ffffff;
}

.contact-link {
  grid-column: 9 / 13;
  text-align: right;
}

.contact-link a {
  color: #000000;
  text-decoration: none;
  font-size: 12px;
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 18px;
  border: 1px solid #ffffff;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.contact-link a:hover {
  background: #ffffff;
  color: #1a1a1a;
  border-color: #1a1a1a;
}

.contact-link a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 12px;
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: opacity 0.3s ease;
}

.contact-link a:hover {
  opacity: 0.7;
}

/* ==================== RESPONSIVE STYLES ==================== */

/* Tablet Styles */
@media (max-width: 1024px) {
  :root {
    --page-margin: 4rem;
    --section-gap: 8rem;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  :root {
    --page-margin: var(--page-margin-mobile);
    --section-gap: 6rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
  }
  
  .site-header {
    padding: 0 var(--page-margin-mobile);
    height: 80px;
  }
  
  .header-container {
    grid-template-columns: auto 1fr auto;
    gap: var(--space-sm);
  }

  .logo-container {
    grid-column: 1;
    justify-self: start;
  }

  .main-nav {
    grid-column: 2;
    justify-self: center;
  }

  .main-nav ul {
    gap: 0.75rem;
    justify-content: center;
  }

  .main-nav a {
    font-size: 9px;
    padding: 10px 14px;
  }

  .contact-link {
    grid-column: 3;
    text-align: right;
  }

  .contact-link a {
    font-size: 9px;
    padding: 10px 14px;
  }
  
  .content-wrap {
    padding: 0 var(--page-margin-mobile);
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  :root {
    --page-margin: 1.5rem;
    --section-gap: 4rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
  }
  
  .site-header {
    padding: 0 var(--page-margin);
    height: 90px;
  }
  
  .header-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-xs);
    text-align: center;
  }

  .logo-container {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
  }

  .main-nav {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }

  .main-nav ul {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav a {
    font-size: 8px;
    padding: 8px 10px;
  }

  .contact-link {
    display: none;
  }

  .corner-info {
    display: none;
  }

  .content-wrap {
    padding: var(--space-lg) var(--page-margin);
  }

  .hero-section {
    margin-bottom: var(--section-gap);
    padding: var(--space-lg) 0;
  }

  .text-header {
    margin: var(--section-gap) var(--page-margin);
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--space-md);
  }

  .anime-favorites-list {
    padding: var(--space-xl) var(--page-margin);
  }
}

/* ==================== HERO CONTENT ==================== */
.hero-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.hero-content.hidden {
  opacity: 0;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: clamp(3rem, 12vw, 10rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  color: #1a1a1a;
  margin: 0;
  text-shadow: 0 0 60px rgba(255, 255, 255, 0.3);
  opacity: 0.85;
}

.hero-subtitle {
  font-family: var(--font-primary);
  font-size: 12px;
  letter-spacing: 0.5em;
  color: rgba(26, 26, 26, 0.5);
  margin-top: 1rem;
}

.scroll-indicator {
  position: fixed;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  z-index: 10;
  transition: opacity 0.5s ease;
}

.scroll-indicator.hidden {
  opacity: 0;
}

.scroll-indicator span {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(26, 26, 26, 0.4);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(26, 26, 26, 0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ==================== CORNER INFO ==================== */
.corner-info {
  position: fixed;
  font-family: var(--font-primary);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(26, 26, 26, 0.5);
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.corner-info.hidden {
  opacity: 0;
}

.corner-info.top-left {
  top: 140px;
  left: var(--page-margin);
}

.corner-info.top-right {
  top: 140px;
  right: var(--page-margin);
}

.corner-info.bottom-left {
  bottom: var(--space-xl);
  left: var(--page-margin);
}

.corner-info.bottom-right {
  bottom: var(--space-xl);
  right: var(--page-margin);
}

@media (max-width: 768px) {
  .hero-title {
    letter-spacing: 0.15em;
  }
  
  .hero-subtitle {
    letter-spacing: 0.2em;
    font-size: 10px;
  }
  
  .corner-info {
    display: none;
  }
  
  .scroll-indicator {
    bottom: 2rem;
  }
}

/* ==================== CONTENT WRAP ==================== */
.content-wrap {
  position: relative;
  z-index: 3;
  padding: 0;
  max-width: 100%;
  width: 100%;
  margin: 0;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  height: 100vh;
  position: relative;
  background: transparent;
  pointer-events: none;
  margin-bottom: var(--section-gap);
}

/* ==================== TEXT HEADER WITH CANVAS ==================== */
.text-header {
  min-height: 50vh;
  max-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #000;
  z-index: 10;
  overflow: hidden;
  margin: var(--section-gap) var(--page-margin);
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.text-header .title {
  position: absolute;
  top: var(--space-lg);
  left: var(--space-lg);
  font-size: 32px;
  color: #fff;
  z-index: 10;
  font-family: 'Muli', sans-serif;
}

/* ==================== EXPERIENCE HIGHLIGHTS SECTION ==================== */
.SectionWrapper-module-scss-module__OdgXhq__sectionWrapper {
  position: relative;
  z-index: 10;
}

[class*="ExperienceHighlights-module-scss-module__fR1D2a__experienceHighlights"] {
  position: relative;
  overflow: hidden;
}

[class*="StickyCSSElement-module-scss-module__WsLz-q__stickyWrapper"] {
  height: var(--sticky-height-desktop, 575vh);
  position: relative;
}

[class*="StickyCSSElement-module-scss-module__WsLz-q__stickyElement"] {
  position: sticky;
  top: var(--sticky-offset, 2.5rem);
  height: calc(100vh - var(--sticky-offset, 2.5rem) * 2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-xl);
}

[class*="ExperienceHighlights-module-scss-module__fR1D2a__title"] {
  font-family: 'Syncopate', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-xl);
  text-align: center;
  will-change: transform;
}

[class*="FitText-module-scss-module__camHIq__fitTextContainer"] {
  white-space: nowrap;
}

[class*="ExperienceHighlights-module-scss-module__fR1D2a__titleDesktop"] {
  display: block;
}

[class*="ExperienceHighlights-module-scss-module__fR1D2a__titleMobile"] {
  display: none;
}

[class*="ExperienceHighlights-module-scss-module__fR1D2a__slidesContainer"] {
  display: flex;
  gap: var(--space-xl);
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  max-width: var(--content-max-width);
  flex-wrap: wrap;
  padding: 0 var(--space-lg);
}

[class*="ExperienceHighlights-module-scss-module__fR1D2a__slide"] {
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  position: relative;
}

[class*="ExperienceHighlights-module-scss-module__fR1D2a__slideImage"] {
  width: 100%;
  aspect-ratio: 1444/1700;
  overflow: hidden;
  border-radius: 8px;
}

[class*="Image-module-scss-module__AQlTRG__imageWrapper"] {
  width: 100%;
  height: 100%;
  position: relative;
}

[class*="Image-module-scss-module__AQlTRG__image"] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  position: absolute;
  top: 0;
  left: 0;
}

[class*="Image-module-scss-module__AQlTRG__placeholder"] {
  filter: blur(10px);
}

[class*="ExperienceHighlights-module-scss-module__fR1D2a__slide"]:hover [class*="Image-module-scss-module__AQlTRG__image"]:not([class*="placeholder"]) {
  transform: scale(1.05);
}

[class*="ExperienceHighlights-module-scss-module__fR1D2a__slideContent"] {
  display: block;
  padding: var(--space-md) 0;
  text-decoration: none;
  color: inherit;
}

[class*="ExperienceHighlights-module-scss-module__fR1D2a__slideContentNumber"],
[class*="Typography-module-scss-module__fAfHiq__captionSmall"] {
  font-family: var(--font-primary);
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 0.5rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

[class*="Typography-module-scss-module__fAfHiq__subheading4"] {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

[class*="AnimatedText-module-scss-module__XQNhlG__animatedText"] {
  display: block;
}

[class*="AnimatedText-module-scss-module__XQNhlG__line"] {
  display: block;
  text-align: left;
}

[class*="Typography-module-scss-module__fAfHiq__captionLink"],
[class*="ExperienceHighlights-module-scss-module__fR1D2a__slideLink"] {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-primary);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.3s ease;
}

[class*="Typography-module-scss-module__fAfHiq__captionLink"]:hover,
[class*="ExperienceHighlights-module-scss-module__fR1D2a__slideLink"]:hover {
  opacity: 0.7;
}

[class*="ExperienceHighlights-module-scss-module__fR1D2a__sectionLabel"] {
  position: absolute;
  bottom: var(--space-xl);
  left: var(--page-margin);
}

[class*="ExperienceHighlights-module-scss-module__fR1D2a__tagLine"] {
  position: absolute;
  bottom: var(--space-xl);
  right: var(--page-margin);
}

[class*="ExperienceHighlights-module-scss-module__fR1D2a__sectionEnd"] {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-3xl) var(--page-margin);
  text-align: center;
}

[class*="ExperienceHighlights-module-scss-module__fR1D2a__endTitle"],
[class*="Typography-module-scss-module__fAfHiq__heading4"] {
  max-width: 800px;
  margin-bottom: var(--space-xl);
}

[class*="ScrollAnimatedTitle-module-scss-module__jzYn1G__scrollAnimatedTitle"] {
  font-family: 'Syncopate', sans-serif;
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.4;
  text-transform: uppercase;
}

[class*="ScrollAnimatedTitle-module-scss-module__jzYn1G__scrollAnimatedTitle"] .line {
  display: block;
}

[class*="ScrollAnimatedTitle-module-scss-module__jzYn1G__word"] {
  display: inline-block;
  position: relative;
}

[class*="ScrollAnimatedTitle-module-scss-module__jzYn1G__char"] {
  display: inline-block;
  position: relative;
  opacity: calc(0.3 + var(--progress, 0) * 0.7);
  transition: opacity 0.3s ease;
}

[class*="ExperienceHighlights-module-scss-module__fR1D2a__endButton"] {
  text-decoration: none;
}

[class*="Button-module-scss-module__n0x4Aa__button"] {
  position: relative;
  padding: 1rem 2.5rem;
  background: rgb(245, 244, 223);
  color: rgb(0, 122, 229);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  overflow: hidden;
  transition: transform 0.3s ease;
}

[class*="Button-module-scss-module__n0x4Aa__button"]:hover {
  transform: scale(1.05);
}

[class*="Button-module-scss-module__n0x4Aa__buttonIn"],
[class*="Button-module-scss-module__n0x4Aa__buttonOut"] {
  transition: transform 0.3s ease;
}

[class*="Button-module-scss-module__n0x4Aa__buttonOut"] {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 100%);
}

[class*="Button-module-scss-module__n0x4Aa__button"]:hover [class*="Button-module-scss-module__n0x4Aa__buttonIn"] {
  transform: translateY(-100%);
}

[class*="Button-module-scss-module__n0x4Aa__button"]:hover [class*="Button-module-scss-module__n0x4Aa__buttonOut"] {
  transform: translate(-50%, -50%);
}

[class*="Typography-module-scss-module__fAfHiq__captionButton"] {
  font-family: var(--font-primary);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  [class*="ExperienceHighlights-module-scss-module__fR1D2a__titleDesktop"] {
    display: none;
  }
  
  [class*="ExperienceHighlights-module-scss-module__fR1D2a__titleMobile"] {
    display: block;
    font-size: 48px !important;
  }
  
  [class*="StickyCSSElement-module-scss-module__WsLz-q__stickyWrapper"][class*="StickyCSSElement-module-scss-module__WsLz-q__skipMobile"] {
    height: var(--sticky-height-mobile, fit-content);
  }
  
  [class*="ExperienceHighlights-module-scss-module__fR1D2a__slidesContainer"] {
    flex-direction: column;
    align-items: center;
  }
  
  [class*="ExperienceHighlights-module-scss-module__fR1D2a__slide"] {
    max-width: 100%;
  }
  
  [class*="ExperienceHighlights-module-scss-module__fR1D2a__sectionLabel"],
  [class*="ExperienceHighlights-module-scss-module__fR1D2a__tagLine"] {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 2rem;
  }
}

@media (max-width: 1000px) {
  #Canvas {
    width: 100%;
    height: auto;
    aspect-ratio: 720 / 405;
  }
}

/* ==================== GRID SECTION ==================== */
.grid-section {
  min-height: 240vh;
  position: relative;
  z-index: 10;
  background: #000;
}

.content {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  overflow: hidden;
  background: #000;
  padding: 2rem;
}

.fin-section {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #000;
  z-index: 10;
  padding: var(--space-3xl) var(--page-margin);
}

.fluid {
  font-size: clamp(4rem, 12vw, 12rem);
  line-height: 0.6;
  margin: 0;
  color: #fff;
}

/* Grid Layout - 5 columns x 3 rows */
.grid {
  --offset: 0;
  --container-width: 1400px;
  --gap: clamp(20px, 5vw, 60px);

  width: var(--container-width);
  max-width: 90vw;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: var(--gap);
  margin: 0 auto;
  align-content: center;
  position: relative;
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
    --offset: -1;
  }
  
  .grid > .layer:nth-of-type(1) {
    display: none;
  }
}

/* Layers using subgrid */
.grid > .layer {
  display: grid;
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
}

/* Layer 1: Outer edges - odd on left column, even on right column */
.grid > .layer:nth-of-type(1) div:nth-of-type(odd) {
  grid-column: 1;
}

.grid > .layer:nth-of-type(1) div:nth-of-type(even) {
  grid-column: -2;
}

/* Layer 2: Inner columns */
.grid > .layer:nth-of-type(2) div:nth-of-type(odd) {
  grid-column: calc(2 + var(--offset));
}

.grid > .layer:nth-of-type(2) div:nth-of-type(even) {
  grid-column: calc(-3 - var(--offset));
}

/* Layer 3: Center column top and bottom */
.grid > .layer:nth-of-type(3) div:first-of-type {
  grid-column: calc(3 + var(--offset));
  grid-row: 1;
}

.grid > .layer:nth-of-type(3) div:last-of-type {
  grid-column: calc(3 + var(--offset));
  grid-row: -1;
}

.grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1rem;
}

.grid .scaler {
  position: relative;
  grid-area: 2 / calc(3 + var(--offset));
}

.scaler {
  z-index: 2;
  width: 100%;
  height: 100%;
  position: relative;
}

.scaler img {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  object-fit: cover;
  border-radius: 1rem;
  width: 100%;
  height: 100%;
}

/* ============================
   HYPER SCROLL SECTION - EXACT FROM hyper.html
   ============================ */

.hyper-scroll-section {
  --bg: #030303;
  --card-bg: rgba(10, 10, 10, 0.4);
  --text: #e0e0e0;
  --accent: #ff003c;
  --accent-2: #00f3ff;
  --border: rgba(255, 255, 255, 0.1);
  --font-display: 'Syncopate', sans-serif;
  --font-code: 'JetBrains Mono', monospace;
  
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  width: 100%;
  height: 100vh;
  cursor: pointer;
  z-index: 10;
  overflow: hidden;
}

/* When active, section becomes fullscreen fixed */
.hyper-scroll-section.active {
  position: fixed;
  inset: 0;
  z-index: 9999;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior: contain;
  cursor: crosshair;
  -webkit-overflow-scrolling: touch;
}

/* When not active, ensure content is visible */
.hyper-scroll-section:not(.active) #world,
.hyper-scroll-section:not(.active) .hud {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* --- POST PROCESSING & OVERLAYS --- */
.hyper-scroll-section .scanlines {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.2));
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 10;
  display: block;
}

.hyper-scroll-section .vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 40%, #000 120%);
  z-index: 11;
  pointer-events: none;
  display: block;
}

.hyper-scroll-section .noise {
  position: absolute;
  inset: 0;
  z-index: 12;
  opacity: 0.07;
  pointer-events: none;
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Show overlays fixed when section is active */
.hyper-scroll-section.active .scanlines,
.hyper-scroll-section.active .vignette,
.hyper-scroll-section.active .noise {
  position: fixed;
  display: block;
}

/* --- HUD --- */
.hyper-scroll-section .hud {
  position: absolute;
  inset: var(--space-xl);
  z-index: 20;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--font-code);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.hyper-scroll-section.active .hud {
  position: fixed;
  display: flex;
}

.hyper-scroll-section .hud-top,
.hyper-scroll-section .hud-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hyper-scroll-section .hud strong {
  color: var(--accent-2);
}

.hyper-scroll-section .hud-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 1rem;
  position: relative;
}

.hyper-scroll-section .hud-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  background: var(--accent);
}

.hyper-scroll-section .center-nav {
  align-self: flex-start;
  margin-top: auto;
  margin-bottom: auto;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* --- PROJECTS NAVBAR TITLE - FULL VIEWPORT --- */
.hyper-scroll-section .hyper-nav-title {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
}

.hyper-scroll-section.active .hyper-nav-title {
  position: fixed;
}

.hyper-scroll-section .nav-title-text {
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.08);
  text-shadow: 
    0 0 100px rgba(0, 243, 255, 0.2),
    0 0 200px rgba(0, 243, 255, 0.1);
  animation: titlePulse 4s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes titlePulse {
  0%, 100% { 
    opacity: 0.3;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.08);
  }
  50% { 
    opacity: 0.5;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.15);
  }
}

/* --- 3D SCENE --- */
.hyper-scroll-section .viewport {
  position: absolute;
  inset: 0;
  perspective: 1000px;
  overflow: hidden;
  z-index: 1;
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.hyper-scroll-section.active .viewport {
  position: fixed;
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Entry Prompt - shown before activation */
.hyper-entry-prompt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 50;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hyper-entry-prompt h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 3rem);
  color: #00f3ff;
  letter-spacing: 8px;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
}

.hyper-entry-prompt p {
  font-family: var(--font-code);
  font-size: clamp(0.8rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 4px;
  animation: promptBlink 1.5s ease-in-out infinite;
}

@keyframes promptBlink {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.4; }
}

.hyper-entry-prompt .pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border: 2px solid rgba(0, 243, 255, 0.3);
  border-radius: 50%;
  animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
  0% {
    width: 100px;
    height: 100px;
    opacity: 1;
  }
  100% {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}

/* Hide entry prompt when active */
.hyper-scroll-section.active .hyper-entry-prompt {
  display: none;
}

.hyper-scroll-section .world {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  will-change: transform;
}

.hyper-scroll-section .item {
  position: absolute;
  left: 0;
  top: 0;
  backface-visibility: hidden;
  transform-origin: center center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- CARDS & CONTENT --- */
.hyper-scroll-section .card {
  width: 320px;
  height: 460px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  position: relative;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translate(-50%, -50%);
  cursor: pointer;
}

@media (hover: hover) {
  .hyper-scroll-section .card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(255, 0, 60, 0.2);
    background: rgba(20, 20, 20, 0.8);
    z-index: 100;
  }
}

.hyper-scroll-section .card::before,
.hyper-scroll-section .card::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid transparent;
  transition: 0.3s;
}

.hyper-scroll-section .card::before {
  top: -1px;
  left: -1px;
  border-top-color: var(--text);
  border-left-color: var(--text);
}

.hyper-scroll-section .card::after {
  bottom: -1px;
  right: -1px;
  border-bottom-color: var(--text);
  border-right-color: var(--text);
}

.hyper-scroll-section .card:hover::before,
.hyper-scroll-section .card:hover::after {
  width: 100%;
  height: 100%;
  border-color: var(--accent);
}

.hyper-scroll-section .card-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hyper-scroll-section .card-id {
  font-family: var(--font-code);
  color: var(--accent);
  font-size: 0.8rem;
}

.hyper-scroll-section .card h2 {
  font-size: 2.5rem;
  line-height: 0.9;
  margin: 0;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  mix-blend-mode: hard-light;
}

.hyper-scroll-section .card-footer {
  margin-top: auto;
  font-family: var(--font-code);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  justify-content: space-between;
}

/* --- END CARD --- */
.hyper-scroll-section .end-card {
  border: 2px solid #00f3ff;
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.3), inset 0 0 20px rgba(0, 243, 255, 0.1);
  animation: endCardPulse 2s ease-in-out infinite;
}

@keyframes endCardPulse {
  0%, 100% {
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3), inset 0 0 20px rgba(0, 243, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.5), inset 0 0 30px rgba(0, 243, 255, 0.2);
  }
}

/* --- BIG TEXT --- */
.hyper-scroll-section .big-text {
  font-size: 15vw;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.15);
  text-stroke: 2px rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  pointer-events: none;
  letter-spacing: -0.5rem;
  mix-blend-mode: overlay;
}

/* --- PARTICLES --- */
.hyper-scroll-section .star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  transform: translate(-50%, -50%);
}

/* --- SCROLL PROXY --- */
.hyper-scroll-section .scroll-proxy {
  height: 100vh; /* Only take one viewport height when not active */
  position: relative;
  width: 100%;
  pointer-events: none;
  display: none;
}

.hyper-scroll-section.active .scroll-proxy {
  height: 8000px; /* Fixed large height for scrolling - matches CONFIG.maxScroll */
  display: block;
  position: relative;
}

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

.anime-list-section {
  position: relative;
  min-height: 100vh;
  background: #000;
  overflow: hidden;
  z-index: 10;
}

.anime-list-section .video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.anime-list-section .video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-list-section .video-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
}

.anime-list-section .ball {
  width: 70px;
  height: 70px;
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  backdrop-filter: invert(1) grayscale(1);
  -webkit-backdrop-filter: invert(1) grayscale(1);
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.anime-list-section:hover .ball {
  opacity: 1;
}

.anime-list-section .anime-list {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 100px 30px 60px;
  font-family: "Roboto Condensed", sans-serif;
  text-transform: uppercase;
  color: #fff;
}

.anime-list-section .anime-list .title {
  text-transform: uppercase;
  margin: 0 auto 60px;
  width: fit-content;
  max-width: 1170px;
  text-align: center;
  font-size: clamp(40px, 8vw, 100px);
  line-height: 1.2;
  font-weight: 400;
}

.anime-list-section .anime-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.anime-list-section .anime-list ul li {
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 26px 0;
  margin: 0 -12px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.anime-list-section .anime-list ul li::before,
.anime-list-section .anime-list ul li::after {
  content: "";
  transition: all 1s;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0.5;
}

.anime-list-section .anime-list ul li::after {
  opacity: 1;
  width: 0%;
}

.anime-list-section .anime-list ul li:hover {
  opacity: 1;
}

.anime-list-section .anime-list ul li:hover::after {
  width: 100%;
}

.anime-list-section .anime-list ul li > div:not(.hover-img) {
  padding: 0 12px;
}

.anime-list-section .anime-list .index {
  width: calc(100% / 12);
  font-size: 16px;
  line-height: 24px;
}

.anime-list-section .anime-list .release-year {
  width: calc((100% / 12) * 2);
  font-size: 16px;
  line-height: 24px;
}

.anime-list-section .anime-list .anime-name {
  width: calc((100% / 12) * 4);
}

.anime-list-section .anime-list .anime-name h2 {
  font-size: 22px;
  line-height: 30px;
  text-transform: capitalize;
  font-family: "Roboto", sans-serif;
  margin: 0;
  font-weight: 400;
}

.anime-list-section .anime-list .genere {
  width: calc((100% / 12) * 4);
  font-size: 16px;
  line-height: 24px;
}

.anime-list-section .anime-list .redirect-link {
  width: calc((100% / 12) * 1);
}

.anime-list-section .anime-list .redirect-link a {
  width: 30px;
  height: 30px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #fff;
  transition: all 0.5s;
}

.anime-list-section .anime-list .redirect-link a:hover {
  transform: scale(1.1);
}

.anime-list-section .anime-list .redirect-link svg {
  color: #000;
}

.anime-list-section .anime-list .hover-img {
  pointer-events: none;
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 0;
  width: 34vw;
  height: 34vw;
  transform: translateY(-50%);
}

.anime-list-section .anime-list .hover-img img {
  transition: all 0.7s;
  opacity: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.anime-list-section .anime-list li:hover .hover-img img {
  opacity: 1;
}

.anime-list-section .img-fluid {
  max-width: 100%;
  height: auto;
}

/* Anime List Responsive */
@media (min-width: 1200px) and (max-width: 1499px) {
  .anime-list-section .anime-list .title {
    font-size: 90px;
    line-height: 110px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .anime-list-section .anime-list .title {
    font-size: 70px;
    line-height: 90px;
  }
  .anime-list-section .anime-list .hover-img {
    width: 38vw;
    height: 38vw;
  }
  .anime-list-section .anime-list .hover-img img {
    border-radius: 12px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .anime-list-section .anime-list .title {
    font-size: 60px;
    line-height: 80px;
    margin: 0 auto 40px;
  }
  .anime-list-section .anime-list .anime-name h2 {
    font-size: 18px;
    line-height: 26px;
  }
  .anime-list-section .anime-list .index,
  .anime-list-section .anime-list .release-year,
  .anime-list-section .anime-list .genere {
    font-size: 14px;
    line-height: 22px;
  }
  .anime-list-section .anime-list .hover-img {
    width: 38vw;
    height: 38vw;
  }
  .anime-list-section .anime-list .hover-img img {
    border-radius: 12px;
  }
}

@media (max-width: 767px) {
  .anime-list-section .anime-list {
    padding: 80px 15px 40px;
  }
  .anime-list-section .anime-list .title {
    font-size: 50px;
    line-height: 70px;
    margin: 0 auto 40px;
  }
  .anime-list-section .anime-list .anime-name h2 {
    font-size: 18px;
    line-height: 26px;
  }
  .anime-list-section .anime-list ul li > div:not(.hover-img) {
    padding: 0 8px;
  }
  .anime-list-section .anime-list .index,
  .anime-list-section .anime-list .genere {
    display: none;
  }
  .anime-list-section .anime-list .anime-name {
    width: calc((100% / 12) * 8);
  }
  .anime-list-section .anime-list .redirect-link {
    width: calc((100% / 12) * 2);
  }
  .anime-list-section .anime-list .hover-img {
    width: 40vw;
    height: 40vw;
  }
  .anime-list-section .anime-list .hover-img img {
    border-radius: 8px;
  }
}

/* ==================== ANIME FAVORITES SECTION ==================== */
.anime-favorites-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  z-index: 5;
}

.anime-favorites-section .anime-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.anime-favorites-section .anime-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-favorites-section .anime-video-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
}

.anime-favorites-section .anime-ball {
  width: 70px;
  height: 70px;
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  backdrop-filter: invert(1) grayscale(1);
  -webkit-backdrop-filter: invert(1) grayscale(1);
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.anime-favorites-section:hover .anime-ball {
  opacity: 1;
}

.anime-favorites-section .anime-favorites-list {
  position: relative;
  z-index: 10;
  margin: 0 auto;
  padding: var(--space-3xl) var(--page-margin);
  font-family: "Roboto Condensed", sans-serif;
  text-transform: uppercase;
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  max-width: var(--content-max-width);
}

/* ==================== ACHIEVEMENTS TITLE EFFECT ==================== */
.achievements-title-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 60px;
}

.achievements-text {
  font-size: 2.5vw;
  letter-spacing: 0.05em;
  line-height: 100%;
  margin: 0;
  font-family: "Roboto Condensed", sans-serif;
  text-transform: uppercase;

  width: 100%;
  text-align: center;
  color: rgba(255, 255, 255, 0.15);
  background: linear-gradient(to right, #fff, #fff) no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 0%;
  transition: background-size cubic-bezier(0.1, 0.5, 0.5, 1) 0.5s;

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 12px 0;

  animation-name: achievements-reveal;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  animation-timeline: view();
  animation-range: entry 100% cover 50%;
}

.achievements-text.amp {
  font-size: 1.5vw;
  font-weight: 100;
  border-bottom: none;
  padding: 6px 0;
}

@keyframes achievements-reveal {
  to {
    background-size: 100%;
  }
}

.achievements-text > span {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: linear-gradient(135deg, #4246ce 0%, #7b2cbf 50%, #e040fb 100%);
  color: #0d0d0d;
  font-weight: 900;

  clip-path: polygon(0 50%, 100% 50%, 100% 50%, 0 50%);
  transform-origin: center;
  transition: all cubic-bezier(0.1, 0.5, 0.5, 1) 0.4s;

  display: flex;
  align-items: center;
  justify-content: center;
}

.achievements-text:hover > span {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

/* Responsive */
@media (max-width: 991px) {
  .achievements-text {
    font-size: 4vw;
  }
  .achievements-text.amp {
    font-size: 2.5vw;
  }
}

@media (max-width: 575px) {
  .achievements-text {
    font-size: 6vw;
    padding: 10px 0;
  }
  .achievements-text.amp {
    font-size: 4vw;
    padding: 4px 0;
  }
  .achievements-title-container {
    margin-bottom: 40px;
  }
}

.anime-favorites-section .anime-favorites-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.anime-favorites-section .anime-favorites-list ul li {
  cursor: pointer;
  position: relative;
  display: flex;
  display: -webkit-flex;
  align-items: center;
  -webkit-align-items: center;
  padding: var(--space-md) 0;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  padding: 26px 0;
  margin: 0 -12px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.anime-favorites-section .anime-favorites-list ul li::before,
.anime-favorites-section .anime-favorites-list ul li::after {
  content: "";
  transition: all 1s;
  -webkit-transition: all 1s;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0.5;
}

.anime-favorites-section .anime-favorites-list ul li::after {
  opacity: 1;
  width: 0%;
}

.anime-favorites-section .anime-favorites-list ul li:hover {
  opacity: 1;
}

.anime-favorites-section .anime-favorites-list ul li:hover::after {
  width: 100%;
}

.anime-favorites-section .anime-favorites-list ul li > div:not(.hover-img) {
  padding: 0 12px;
}

.anime-favorites-section .anime-favorites-list .index {
  width: calc(100% / 12);
  color: #fff;
}

.anime-favorites-section .anime-favorites-list .release-year {
  width: calc((100% / 12) * 2);
  color: rgba(255, 255, 255, 0.7);
}

.anime-favorites-section .anime-favorites-list .anime-name {
  width: calc((100% / 12) * 4);
}

.anime-favorites-section .anime-favorites-list .anime-name h2 {
  font-size: 22px;
  line-height: 30px;
  text-transform: capitalize;
  font-family: "Roboto", sans-serif;
  color: #fff;
  margin: 0;
  font-weight: 400;
}

.anime-favorites-section .anime-favorites-list .genere {
  width: calc((100% / 12) * 4);
  color: rgba(255, 255, 255, 0.6);
}

.anime-favorites-section .anime-favorites-list .redirect-link {
  width: calc((100% / 12) * 1);
}

.anime-favorites-section .anime-favorites-list .redirect-link a {
  width: 30px;
  height: 30px;
  margin: 0 auto;
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s ease;
}

.anime-favorites-section .anime-favorites-list .redirect-link a:hover {
  transform: scale(1.1);
}

.anime-favorites-section .anime-favorites-list .redirect-link svg {
  color: #000;
}

.anime-favorites-section .anime-favorites-list .hover-img {
  pointer-events: none;
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 0%;
  width: 34vw;
  height: 34vw;
}

.anime-favorites-section .anime-favorites-list .hover-img img {
  transition: all 0.7s;
  -webkit-transition: all 0.7s;
  opacity: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.anime-favorites-section .anime-favorites-list li:hover .hover-img img {
  opacity: 1;
}

/* Anime Favorites Section - Responsive */
@media (min-width: 1200px) and (max-width: 1499px) {
  .anime-favorites-section .anime-favorites-title {
    font-size: 70px;
    line-height: 90px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .anime-favorites-section .anime-favorites-title {
    font-size: 60px;
    line-height: 80px;
  }
  .anime-favorites-section .anime-favorites-list .hover-img {
    width: 38vw;
    height: 38vw;
  }
  .anime-favorites-section .anime-favorites-list .hover-img img {
    border-radius: 12px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .anime-favorites-section .anime-favorites-title {
    font-size: 50px;
    line-height: 70px;
    margin: 0 auto 40px;
  }
  .anime-favorites-section .anime-favorites-list .anime-name h2 {
    font-size: 18px;
    line-height: 26px;
  }
  .anime-favorites-section .anime-favorites-list {
    font-size: 14px;
    line-height: 22px;
  }
  .anime-favorites-section .anime-favorites-list .hover-img {
    width: 38vw;
    height: 38vw;
  }
  .anime-favorites-section .anime-favorites-list .hover-img img {
    border-radius: 12px;
  }
}

@media (max-width: 767px) {
  .anime-favorites-section .anime-favorites-list {
    padding: 80px 15px 40px;
  }
  .anime-favorites-section .anime-favorites-title {
    font-size: 36px;
    line-height: 50px;
    margin: 0 auto 40px;
  }
  .anime-favorites-section .anime-favorites-list .anime-name h2 {
    font-size: 18px;
    line-height: 26px;
  }
  .anime-favorites-section .anime-favorites-list ul li > div:not(.hover-img) {
    padding: 0 8px;
  }
  .anime-favorites-section .anime-favorites-list .index,
  .anime-favorites-section .anime-favorites-list .genere {
    display: none;
  }
  .anime-favorites-section .anime-favorites-list .anime-name {
    width: calc((100% / 12) * 8);
  }
  .anime-favorites-section .anime-favorites-list .redirect-link {
    width: calc((100% / 12) * 2);
  }
  .anime-favorites-section .anime-favorites-list .hover-img {
    width: 40vw;
    height: 40vw;
  }
  .anime-favorites-section .anime-favorites-list .hover-img img {
    border-radius: 8px;
  }
}

/* ==================== GALLERY SECTION ==================== */
/* PP Neue Montreal Font */
@font-face {
  font-family: "PP Neue Montreal";
  font-style: normal;
  font-weight: 400;
  src: local("PP Neue Montreal"),
    url("https://fonts.cdnfonts.com/s/100431/ppneuemontreal-book.woff") format("woff");
}
@font-face {
  font-family: "PP Neue Montreal";
  font-style: normal;
  font-weight: 500;
  src: local("PP Neue Montreal"),
    url("https://fonts.cdnfonts.com/s/100431/ppneuemontreal-medium.woff") format("woff");
}
@font-face {
  font-family: "PP Neue Montreal";
  font-style: normal;
  font-weight: 700;
  src: local("PP Neue Montreal"),
    url("https://fonts.cdnfonts.com/s/100431/ppneuemontreal-bold.woff") format("woff");
}

/* ==================== HORIZONTAL TEXT ANIMATION ==================== */
.horizontal-text-animation {
  position: relative;
  z-index: 1;
  background: #18181b;
}

.horizontal-text-animation .inner-wrapper {
  overflow: hidden;
}

.horizontal-text-animation .container {
  z-index: 1;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
}

.horizontal-text-animation .animated-text {
  white-space: nowrap;
  font-size: clamp(80px, 15vw, 228px);
  line-height: 1;
  font-weight: 500;
  padding: 0 101vw;
  letter-spacing: -0.025em;
  width: max-content;
  font-family: 'PP Neue Montreal', Arial, Helvetica Neue, Helvetica, sans-serif;
  color: #fafafa;
  text-transform: uppercase;
}

/* Responsive styles for horizontal text animation */
@media screen and (max-width: 991px) {
  .horizontal-text-animation .animated-text {
    font-size: clamp(60px, 12vw, 150px);
  }
}

@media screen and (max-width: 767px) {
  .horizontal-text-animation .animated-text {
    font-size: clamp(40px, 10vw, 100px);
    padding: 0 50vw;
  }
}

@media screen and (max-width: 479px) {
  .horizontal-text-animation .animated-text {
    font-size: clamp(32px, 8vw, 80px);
  }
}

.gallery-section {
  --gallery-padding: var(--page-margin, 3rem);
  --gallery-gutter: var(--space-md, 1rem);
  --gallery-columns: 12;
  --gallery-bg-color: #0a0a0a;
  --gallery-text-color: #e0e0e0;
  --gallery-accent-color: #3a3aff;
  --gallery-grid-color: rgba(255, 255, 255, 0.15);
  --gallery-row-spacing: var(--space-2xl, 6rem);
  
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--gallery-bg-color);
  color: var(--gallery-text-color);
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.03em;
  padding: var(--gallery-padding);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  z-index: 10000;
}

/* Hide scrollbar for gallery but keep functionality */
.gallery-section::-webkit-scrollbar {
  width: 8px;
}

.gallery-section::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.gallery-section::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.gallery-section::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.gallery-close-btn {
  position: fixed;
  top: var(--space-xl, 2rem);
  right: var(--space-xl, 2rem);
  z-index: 10002;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.gallery-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.gallery-grid-container {
  display: grid;
  grid-template-columns: repeat(var(--gallery-columns), 1fr);
  gap: var(--gallery-gutter);
  row-gap: var(--gallery-row-spacing);
  width: 100%;
  margin: 0 auto;
  position: relative;
  padding-bottom: var(--space-3xl, 8rem);
}

/* Gallery Grid overlay */
.gallery-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--gallery-padding);
  pointer-events: none;
  z-index: 10001;
}

.gallery-grid-overlay-inner {
  display: grid;
  grid-template-columns: repeat(var(--gallery-columns), 1fr);
  gap: var(--gallery-gutter);
  height: 100%;
  width: 100%;
  margin: 0 auto;
}

.gallery-grid-column {
  height: 100%;
  border-left: 1px solid var(--gallery-grid-color);
  border-right: 1px solid var(--gallery-grid-color);
  border-top: none;
  border-bottom: none;
  opacity: 0;
  transform-origin: top;
}

/* Gallery Header */
.gallery-header {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  margin-bottom: var(--space-3xl, 8rem);
  padding-top: var(--space-xl, 3rem);
}

.gallery-logo {
  grid-column: 1 / span 3;
  font-weight: 700;
  font-size: 2rem;
  text-transform: uppercase;
}

.gallery-nav {
  grid-column: 10 / span 3;
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg, 2rem);
}

.gallery-nav-item {
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.gallery-nav-item:hover,
.gallery-nav-item.active {
  opacity: 1;
}

/* Gallery Inversion Lens */
.gallery-section .inversion-lens {
  position: relative;
  overflow: hidden;
  background-color: #111;
}

.gallery-section .inversion-lens img {
  display: none;
}

.gallery-section .inversion-lens canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Gallery Project Info */
.gallery-project-info {
  font-size: 1rem;
  margin-top: 1rem;
  line-height: 1.2;
}

.gallery-project-date {
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 0.1rem;
  opacity: 0.6;
}

.gallery-project-title {
  font-weight: 700;
  font-size: 1.8rem;
  margin-top: 0.125rem;
  text-transform: uppercase;
}

.gallery-project-subtitle {
  margin-top: 0.125rem;
  font-size: 1rem;
  opacity: 0.7;
}

/* Gallery Editorial grid layout */
.gallery-item-1-container {
  grid-column: 2 / span 5;
  grid-row: 2 / span 2;
}

.gallery-item-1 {
  height: 700px;
}

.gallery-item-2-container {
  grid-column: 8 / span 4;
  grid-row: 2;
}

.gallery-item-2 {
  height: 300px;
}

.gallery-item-3-container {
  grid-column: 3 / span 4;
  grid-row: 4;
  margin-top: var(--gallery-row-spacing);
}

.gallery-item-3 {
  height: 350px;
}

.gallery-item-4-container {
  grid-column: 8 / span 3;
  grid-row: 3 / span 2;
  margin-top: var(--gallery-row-spacing);
}

.gallery-item-4 {
  height: 450px;
}

/* Additional Gallery Items 5-8 */
.gallery-item-5-container {
  grid-column: 1 / span 4;
  grid-row: 5;
  margin-top: var(--gallery-row-spacing);
}

.gallery-item-5 {
  height: 400px;
}

.gallery-item-6-container {
  grid-column: 6 / span 3;
  grid-row: 5;
  margin-top: var(--gallery-row-spacing);
}

.gallery-item-6 {
  height: 400px;
}

.gallery-item-7-container {
  grid-column: 10 / span 3;
  grid-row: 5 / span 2;
  margin-top: var(--gallery-row-spacing);
}

.gallery-item-7 {
  height: 550px;
}

.gallery-item-8-container {
  grid-column: 3 / span 5;
  grid-row: 6;
  margin-top: var(--gallery-row-spacing);
}

.gallery-item-8 {
  height: 350px;
}

/* Gallery Responsive */
@media (max-width: 768px) {
  .gallery-section {
    --gallery-padding: 1.5rem;
    --gallery-gutter: 0.5rem;
    --gallery-row-spacing: 3rem;
  }

  .gallery-grid-container {
    grid-template-columns: repeat(6, 1fr);
  }

  .gallery-grid-overlay-inner {
    grid-template-columns: repeat(6, 1fr);
  }

  .gallery-header {
    margin-bottom: 3rem;
  }

  .gallery-logo {
    grid-column: 1 / span 3;
    font-size: 1.3rem;
  }

  .gallery-nav {
    grid-column: 4 / span 3;
  }

  .gallery-nav-item {
    font-size: 1rem;
  }

  .gallery-item-1-container {
    grid-column: 1 / span 6;
    grid-row: 2;
  }

  .gallery-item-2-container {
    grid-column: 1 / span 3;
    grid-row: 3;
    margin-top: var(--gallery-row-spacing);
  }

  .gallery-item-3-container {
    grid-column: 4 / span 3;
    grid-row: 3;
    margin-top: var(--gallery-row-spacing);
  }

  .gallery-item-4-container {
    grid-column: 2 / span 4;
    grid-row: 4;
    margin-top: var(--gallery-row-spacing);
  }

  .gallery-item-5-container {
    grid-column: 1 / span 3;
    grid-row: 5;
    margin-top: var(--gallery-row-spacing);
  }

  .gallery-item-6-container {
    grid-column: 4 / span 3;
    grid-row: 5;
    margin-top: var(--gallery-row-spacing);
  }

  .gallery-item-7-container {
    grid-column: 1 / span 6;
    grid-row: 6;
    margin-top: var(--gallery-row-spacing);
  }

  .gallery-item-8-container {
    grid-column: 2 / span 4;
    grid-row: 7;
    margin-top: var(--gallery-row-spacing);
  }

  .gallery-item-1,
  .gallery-item-2,
  .gallery-item-3,
  .gallery-item-4,
  .gallery-item-5,
  .gallery-item-6,
  .gallery-item-7,
  .gallery-item-8 {
    height: 350px;
  }
  
  .gallery-close-btn {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .gallery-section {
    --gallery-padding: var(--space-md);
    --gallery-gutter: var(--space-xs);
    --gallery-row-spacing: var(--space-xl);
  }

  .gallery-grid-container {
    grid-template-columns: 1fr;
  }

  .gallery-grid-overlay-inner {
    grid-template-columns: 1fr;
  }

  .gallery-header {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    padding: 0 var(--space-sm);
  }

  .gallery-logo,
  .gallery-nav {
    grid-column: 1;
  }

  .gallery-logo {
    font-size: 1.2rem;
  }

  .gallery-nav-item {
    font-size: 0.9rem;
  }

  .gallery-item-1-container,
  .gallery-item-2-container,
  .gallery-item-3-container,
  .gallery-item-4-container,
  .gallery-item-5-container,
  .gallery-item-6-container,
  .gallery-item-7-container,
  .gallery-item-8-container {
    grid-column: 1;
    grid-row: auto;
    margin-top: var(--gallery-row-spacing);
  }

  .gallery-item-1-container {
    margin-top: 0;
  }

  .gallery-item-1,
  .gallery-item-2,
  .gallery-item-3,
  .gallery-item-4,
  .gallery-item-5,
  .gallery-item-6,
  .gallery-item-7,
  .gallery-item-8 {
    height: 300px;
  }
}

/* ==================== INTERACTIVE SPLIT SECTION ==================== */
.interactive-split-section {
  --accordion-ease: cubic-bezier(.42,0,.58,1);
  --accordion-bounce: linear(
    0 0%, 0.4214 6.61%, 0.5762 9.59%,
    0.7047 12.55%, 0.8115 15.61%,
    0.8964 18.78%, 0.9614 22.13%,
    1.0078 25.74%, 1.0282 28.18%,
    1.0422 30.82%, 1.0503 33.7%,
    1.0527 36.95%, 1.0468 42.53%,
    1.015 58.45%, 1.0045 67.2%,
    0.9987 80.44%, 1 100%
  );
  --accordion-speed: 0.5s;
  --accordion-width: 300px;
  --accordion-sizing: 56px;
  --accordion-background: rgba(255, 255, 255, 0.1);
  --accordion-hover-background: rgba(255, 255, 255, 0.15);
  --accordion-distance: 15%;
  
  display: flex;
  min-height: 100vh;
  width: 100%;
  background: #0a0a0a;
  position: relative;
  z-index: 50;
  margin: var(--section-gap) 0;
  padding: var(--page-margin);
  will-change: transform, opacity;
  gap: 2rem;
}

/* ========== LEFT SIDE - Hey Grid ========== */
.split-left {
  --font-size-min: 16;
  --font-size-max: 20;
  --font-ratio-min: 1.2;
  --font-ratio-max: 1.33;
  --font-width-min: 375;
  --font-width-max: 1500;
  
  flex: 1.2;
  display: grid;
  place-items: center;
  padding: 2rem;
  position: relative;
  z-index: 51;
}

/* Background grid pattern - BEHIND EVERYTHING */
.split-left::before {
  --size: 45px;
  --line: rgba(245, 245, 245, 0.15);
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, var(--line) 1px, transparent 1px var(--size)) calc(var(--size) * 0.36) 50% / var(--size) var(--size),
    linear-gradient(var(--line) 1px, transparent 1px var(--size)) 0% calc(var(--size) * 0.32) / var(--size) var(--size);
  mask: linear-gradient(-20deg, transparent 50%, white);
  pointer-events: none;
  z-index: 0;
}

/* Inner content wrapper for proper centering */
.split-left-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 52;
}

/* Title - hey. */
.split-title {
  --font-level: 5;
  translate: 12px;
  margin: 0;
  margin-bottom: 1rem;
  color: rgba(245, 245, 245, 0.75);
  font-family: var(--font-primary);
  text-transform: lowercase;
  position: relative;
  z-index: 52;
  font-size: clamp(3rem, 8vw, 6rem);
}

/* ========== PLUS GRID - FULLY INTERACTIVE ========== */
.plus-grid {
  display: grid;
  grid-template: repeat(var(--plus-rows, 10), 1fr) / repeat(var(--plus-cols, 10), 1fr);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  width: 100%;
  max-width: 500px;
  position: relative;
  z-index: 999;
}

/* Each + cell - MUST BE HOVERABLE */
.plus-grid > div {
  padding: 2px;
  opacity: calc(var(--opacity, 0.2) + 0.2);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transition: opacity 0.8s ease-in, rotate 0.4s ease-out, filter 0.6s ease-out;
  transform: scale(1.5);
  filter: grayscale(1);
  color: hsl(var(--hue, 200) 80% 50%);
  cursor: pointer;
}

/* HOVER EFFECT - Instant color change */
.plus-grid > div:hover {
  transition-duration: 0s;
  rotate: calc(var(--grade, 0) * 90deg);
  filter: grayscale(0) brightness(1.5);
  opacity: 1 !important;
}

/* Touch/mobile hover simulation */
.plus-grid > div[data-hover] {
  transition-duration: 0s;
  rotate: calc(var(--grade, 0) * 90deg);
  filter: grayscale(0) brightness(1.5);
  opacity: 1 !important;
}

/* ========== RIGHT SIDE - Accordion ========== */
.split-right {
  flex: 0.8;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem;
  padding-left: 0;
  position: relative;
  z-index: 51;
}

.accordion-section {
  margin-block: 2rem;
  display: flex;
  place-items: center;
  gap: 1rem;
  position: relative;
  min-height: 400px;
  aspect-ratio: 5 / 4;
  justify-content: flex-start;
  overflow: hidden;
  max-width: calc(100vw - 2rem);
  width: 600px;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.1);
  container-type: inline-size;
}

.accordion-column {
  padding-left: 4rem;
  display: grid;
  grid-auto-rows: auto;
  width: var(--accordion-width);
  place-items: center;
  justify-items: start;
  gap: 0.5rem;
  z-index: 20;
  flex: 1 0 var(--accordion-width);
}

.accordion-section details {
  display: inline-block;
  border-radius: calc(var(--accordion-sizing) * 0.5);
  overflow: hidden;
  min-height: var(--accordion-sizing);
  background: var(--accordion-background);
  backdrop-filter: blur(20px) saturate(180%);
  color: #fff;
  transition: background 0.2s var(--accordion-ease);
}

.accordion-section details:hover:not([open]) {
  background: var(--accordion-hover-background);
}

.accordion-section details,
.accordion-section details::details-content {
  interpolate-size: allow-keywords;
}

.accordion-section summary {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: calc(var(--accordion-sizing) * 0.5);
  height: var(--accordion-sizing);
  min-height: var(--accordion-sizing);
  cursor: pointer;
  z-index: 20;
  position: relative;
  transition-property: opacity, width;
  transition-duration: calc(var(--accordion-speed) * 0.5), calc(var(--accordion-speed) * 1.5);
  transition-timing-function: var(--accordion-ease), var(--accordion-bounce);
  transition-delay: calc(var(--accordion-speed) * 1.05), 0s;
  white-space: nowrap;
  font-weight: 600;
  font-family: var(--font-primary);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
  list-style: none;
  outline-color: #fff;
}

.accordion-section summary::-webkit-details-marker {
  display: none;
}

.accordion-section summary svg {
  width: 24px;
  aspect-ratio: 1;
}

.accordion-section details[open] summary {
  opacity: 0;
  pointer-events: none;
  transition-delay: 0s;
  width: var(--accordion-width);
}

.accordion-section details::details-content {
  opacity: 0;
  transition-property: content-visibility, height, width, opacity;
  transition-duration: var(--accordion-speed), calc(var(--accordion-speed) * 1.6), calc(var(--accordion-speed) * 1.6), calc(var(--accordion-speed) * 0.5);
  transition-behavior: allow-discrete;
  transition-timing-function: var(--accordion-ease), var(--accordion-bounce), var(--accordion-bounce), var(--accordion-ease);
  overflow: visible;
  height: var(--accordion-sizing);
  margin-top: calc(var(--accordion-sizing) * -1);
  width: 120px;
  min-height: var(--accordion-sizing);
}

.accordion-section details[open]::details-content {
  height: fit-content;
  width: var(--accordion-width);
  opacity: 1;
  transition-delay: 0s, 0s, 0s, calc(var(--accordion-speed) * 1);
}

.accordion-content {
  width: var(--accordion-width);
  min-height: var(--accordion-sizing);
}

.accordion-content p {
  margin: 0;
  width: var(--accordion-width);
  padding: 1.5rem;
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(245, 245, 245, 0.8);
}

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

.accordion-content a:hover {
  opacity: 0.7;
}

/* Image column */
.accordion-image-column {
  width: 100cqi;
  height: 100%;
  position: relative;
  display: grid;
  grid-auto-flow: row;
  place-items: center;
  gap: 0.675rem;
  pointer-events: none;
}

.accordion-img-block {
  position: absolute;
  inset: 0;
}

.accordion-img-block:nth-of-type(1) {
  z-index: 10;
}

.accordion-img-wrapper {
  width: 100%;
  object-fit: cover;
  height: 100%;
  display: inline-block;
  transform: translateX(0);
  transition-duration: calc(var(--accordion-speed) * 0), calc(var(--accordion-speed) * 0.35), calc(var(--accordion-speed) * 1.15);
  transition-timing-function: var(--accordion-ease), var(--accordion-ease), var(--accordion-bounce);
  transform-origin: 100% 150%;
  transition-property: transform, opacity, scale;
}

.accordion-section[data-checking-details="true"] .accordion-img-wrapper {
  transform-origin: 50% 100%;
  transition-timing-function: var(--accordion-ease);
  transition-duration: calc(var(--accordion-speed) * 0.6), calc(var(--accordion-speed) * 0.25), calc(var(--accordion-speed) * 0.65);
}

.accordion-img-block:nth-of-type(1) .accordion-img-wrapper {
  transform-origin: 50% 50%;
  transition-property: translate, opacity, scale;
  transition-duration: calc(var(--accordion-speed) * .4), calc(var(--accordion-speed) * 0.35), calc(var(--accordion-speed) * 1.15);
  transition-timing-function: ease-in, var(--accordion-ease), var(--accordion-bounce);
}

.accordion-img-wrapper img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  aspect-ratio: 1;
  height: 100%;
  width: 100cqw;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
}

/* Default closed state - first image visible */
.accordion-section:not(:has([open])) .accordion-img-block:first-of-type {
  translate: 0 0;
}

.accordion-section:not(:has([open])) .accordion-img-block:first-of-type .accordion-img-wrapper {
  transform: translateX(0%);
  transition-delay: calc(var(--accordion-speed) * 0.2);
}

/* Images for open states - show with translation */
.accordion-section:has(details:nth-of-type(1)[open]) .accordion-img-block:nth-of-type(2),
.accordion-section:has(details:nth-of-type(2)[open]) .accordion-img-block:nth-of-type(3),
.accordion-section:has(details:nth-of-type(3)[open]) .accordion-img-block:nth-of-type(4),
.accordion-section:has(details:nth-of-type(4)[open]) .accordion-img-block:nth-of-type(5),
.accordion-section:has(details:nth-of-type(5)[open]) .accordion-img-block:nth-of-type(6) {
  translate: var(--accordion-distance) 0;
  z-index: 2;
}

.accordion-section:has(details:nth-of-type(1)[open]) .accordion-img-block:nth-of-type(2) .accordion-img-wrapper,
.accordion-section:has(details:nth-of-type(2)[open]) .accordion-img-block:nth-of-type(3) .accordion-img-wrapper,
.accordion-section:has(details:nth-of-type(3)[open]) .accordion-img-block:nth-of-type(4) .accordion-img-wrapper,
.accordion-section:has(details:nth-of-type(4)[open]) .accordion-img-block:nth-of-type(5) .accordion-img-wrapper,
.accordion-section:has(details:nth-of-type(5)[open]) .accordion-img-block:nth-of-type(6) .accordion-img-wrapper {
  transform: translateX(calc(var(--accordion-distance) * -1));
  transition-delay: calc(var(--accordion-speed) * 0.2);
  opacity: 1;
  scale: 1;
}

/* Hidden state for non-active images */
.accordion-section:not(:has(details:nth-of-type(1)[open])) .accordion-img-block:nth-of-type(2) .accordion-img-wrapper,
.accordion-section:not(:has(details:nth-of-type(2)[open])) .accordion-img-block:nth-of-type(3) .accordion-img-wrapper,
.accordion-section:not(:has(details:nth-of-type(3)[open])) .accordion-img-block:nth-of-type(4) .accordion-img-wrapper,
.accordion-section:not(:has(details:nth-of-type(4)[open])) .accordion-img-block:nth-of-type(5) .accordion-img-wrapper,
.accordion-section:not(:has(details:nth-of-type(5)[open])) .accordion-img-block:nth-of-type(6) .accordion-img-wrapper {
  transition-property: translate, opacity, scale;
  transition-timing-function: ease-in, ease-out, ease-in;
  translate: 0 0;
  scale: 0.9;
  opacity: 0;
}

.accordion-section[data-checking-details="true"]:not(:has(details:nth-of-type(1)[open])) .accordion-img-block:nth-of-type(2) .accordion-img-wrapper,
.accordion-section[data-checking-details="true"]:not(:has(details:nth-of-type(2)[open])) .accordion-img-block:nth-of-type(3) .accordion-img-wrapper,
.accordion-section[data-checking-details="true"]:not(:has(details:nth-of-type(3)[open])) .accordion-img-block:nth-of-type(4) .accordion-img-wrapper,
.accordion-section[data-checking-details="true"]:not(:has(details:nth-of-type(4)[open])) .accordion-img-block:nth-of-type(5) .accordion-img-wrapper,
.accordion-section[data-checking-details="true"]:not(:has(details:nth-of-type(5)[open])) .accordion-img-block:nth-of-type(6) .accordion-img-wrapper {
  transform-origin: 50% 100%;
  translate: calc(var(--accordion-distance) * -1) 0;
}

/* Hide first image when something is open */
.accordion-section:has([open]) .accordion-img-block:first-of-type .accordion-img-wrapper {
  translate: 0 0;
  scale: 1.25;
  opacity: 0;
}

/* Image positioning tweaks */
.accordion-img-block:nth-of-type(1) .accordion-img-wrapper img {
  object-position: calc(50% + 4rem) 50%;
}

.accordion-img-block:nth-of-type(2) .accordion-img-wrapper img {
  object-position: right;
}

/* Navigation buttons */
.accordion-nav-btn {
  display: grid;
  place-items: center;
  width: 36px;
  aspect-ratio: 1;
  border: 0;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  background: var(--accordion-background);
  transition-property: opacity, background, translate, transform;
  transition-duration: 0.26s;
  transition-timing-function: var(--accordion-ease);
  z-index: 20;
  position: absolute;
}

.accordion-nav-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
}

.accordion-nav-btn:hover {
  background: var(--accordion-hover-background);
}

.accordion-nav-btn svg {
  width: 22px;
  color: #fff;
  stroke-width: 3;
}

.accordion-nav-btn[data-action="next"],
.accordion-nav-btn[data-action="previous"] {
  top: 50%;
  left: 1rem;
}

.accordion-nav-btn[data-action="previous"] {
  translate: 0 -150%;
}

.accordion-nav-btn[data-action="next"] {
  translate: 0 50%;
}

.accordion-nav-btn[data-action="next"] svg {
  rotate: 180deg;
}

.accordion-nav-btn[data-action="exit"] {
  right: 1rem;
  top: 1rem;
}

.accordion-nav-btn[data-action="exit"] svg {
  rotate: 45deg;
}

.accordion-section:not(:has([open])) .accordion-nav-btn {
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
}

/* Intro animations */
.accordion-section details:nth-of-type(3) {
  animation:
    accordion-slide .75s 0.5s both var(--accordion-bounce),
    accordion-start .6s 1.05s var(--accordion-bounce) both,
    accordion-color-in .6s 1.25s var(--accordion-bounce) both;
}

.accordion-section details:nth-of-type(1),
.accordion-section details:nth-of-type(2) {
  --from-y: 75%;
}

.accordion-section details:nth-of-type(4),
.accordion-section details:nth-of-type(5) {
  --from-y: -75%;
}

.accordion-section details:nth-of-type(2),
.accordion-section details:nth-of-type(4) {
  --index: 1;
}

.accordion-section details:nth-of-type(1),
.accordion-section details:nth-of-type(5) {
  --index: 2;
}

.accordion-section details:nth-of-type(1),
.accordion-section details:nth-of-type(2),
.accordion-section details:nth-of-type(4),
.accordion-section details:nth-of-type(5) {
  --from-scale: 1;
  --from-x: 35%;
  animation:
    accordion-start .6s calc(1.05s + (var(--index) * 0.08s)) var(--accordion-bounce) both,
    accordion-fade-in .6s calc(1.05s + (var(--index) * 0.08s)) var(--accordion-bounce) both,
    accordion-slide .6s calc(1.05s + (var(--index) * 0.08s)) var(--accordion-bounce) both,
    accordion-color-in .6s calc(1.25s + (var(--index) * 0.08s)) var(--accordion-bounce) both;
}

@keyframes accordion-slide {
  0% {
    scale: var(--from-scale, 0);
    translate: var(--from-x, -200px) var(--from-y, 0);
  }
}

@keyframes accordion-start {
  0% {
    width: var(--accordion-sizing);
  }
}

@keyframes accordion-color-in {
  0% {
    color: transparent;
  }
}

@keyframes accordion-fade-in {
  0% {
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .interactive-split-section {
    flex-direction: column;
    padding: var(--space-lg);
    gap: 4rem;
  }

  .split-left,
  .split-right {
    width: 100%;
  }

  .accordion-section {
    width: 100%;
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .accordion-section {
    flex-direction: column;
    aspect-ratio: auto;
    min-height: auto;
    padding: 2rem 1rem;
  }

  .accordion-column {
    padding-left: 0;
    width: 100%;
    flex: none;
  }

  .accordion-image-column {
    display: none;
  }

  .accordion-nav-btn[data-action="next"],
  .accordion-nav-btn[data-action="previous"] {
    display: none;
  }

  .accordion-nav-btn[data-action="exit"] {
    top: 0.5rem;
    right: 0.5rem;
  }

  .plus-grid {
    max-width: 100%;
  }
}

/* =========================================
   3D BOX ANIMATION SECTION
   ========================================= */

:root {
  --loop-dur: 8s;
  --intro-dur: 2s;
}

.box-section {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(ellipse at center, #1a1917 0%, #0a0a0a 100%);
  overflow: hidden;
}

.box-section .scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  perspective: 900px;
  visibility: hidden;
}

.box-section .intro-wrapper {
  width: 180px;
  height: 249.66px;
  position: relative;
  transform-style: preserve-3d;
  animation: introSequence var(--intro-dur) cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.box-section .box {
  transform-style: preserve-3d !important;
  position: relative;
  z-index: 2;
  width: 180px;
  height: 249.66px;
  transform: none;
  animation: boxLoop var(--loop-dur) ease-in-out infinite;
  animation-delay: var(--intro-dur);
}

.box-section .box__front,
.box-section .box__back {
  position: absolute;
  width: 100%;
  height: 100%;
}

.box-section .box__left,
.box-section .box__right {
  position: absolute;
  top: 0;
  left: calc(50% - 49.239px / 2);
  height: 100%;
  width: 49.239px;
  background: #ececec;
}

.box-section .box__flap {
  position: absolute;
  left: calc(50% - 49.239px / 2);
  top: calc(50% - 49.239px / 2);
  width: 49.239px;
  height: 0;
  transform-origin: 50% 100%;
  border-bottom: 49.239px solid #dedede;
  border-left: calc(49.239px / 10) solid transparent;
  border-right: calc(49.239px / 10) solid transparent;
}

.box-section .box__lid {
  position: absolute;
  z-index: 0;
  top: calc(50% - 49.239px / 2);
  width: 180px;
  height: 49.239px;
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  transform: translateZ(calc(-49.239px / 2))
    translateY(calc(-249.66px / 2 - 49.239px / 2 + 0.5px)) rotateY(180deg)
    rotateX(90deg);
  animation: openLid 0.5s ease-in-out forwards;
  animation-delay: 1.4s;
}

.box-section .box__lid-inner {
  position: relative;
  height: 100%;
  z-index: 0;
  transform-style: preserve-3d;
}

.box-section .box__lid-top {
  width: 180px;
  height: 49.239px;
  transform-style: preserve-3d;
}

.box-section .box__lid-top-logo {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 180px;
  height: 49.239px;
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/61488/coolclub-logo-full.png)
    white no-repeat center center;
  background-blend-mode: multiply;
  background-size: cover;
  transform: rotateX(0deg);
  backface-visibility: hidden;
}

.box-section .box__lid-top-back {
  position: absolute;
  left: 0;
  top: 0;
  width: 180px;
  height: 49.239px;
  background: #ececec;
  background-image: linear-gradient(
    -145deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(236, 236, 236, 0.5) 72%,
    rgba(255, 255, 255, 0.3) 73%
  );
  transform: rotateX(180deg);
  backface-visibility: hidden;
}

.box-section .box__lid-flap {
  position: absolute;
  z-index: 0;
  top: calc(50% - 49.239px / 2);
  overflow: hidden;
  width: 100%;
  height: 100%;
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  transform: translateY(calc(-49.239px + 1px)) rotateX(120deg);
  animation: openLidFlap 0.5s ease-in-out forwards;
  animation-delay: 1.6s;
}

.box-section .box__lid-flap-shape {
  position: absolute;
  width: 100%;
  height: 190%;
  border-radius: 50%/90%;
  overflow: hidden;
  background: #ececec;
}

.box-section .box__lid-flap-shape-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ececec;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 65%);
}

.box-section .box__lid-flap-shape-outer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ececec;
  transform: rotateX(180deg);
}

.box-section .box__flap--left {
  transform: translateX(calc(-180px / 2))
    translateY(calc(-249.66px / 2 - 49.239px / 2)) translateZ(0px)
    rotateY(270deg) rotateX(90deg);
  animation: openFlapLeft 0.5s ease-in-out forwards;
  animation-delay: 1.8s;
}

.box-section .box__flap--right {
  transform: translateX(calc(180px / 2))
    translateY(calc(-249.66px / 2 - 49.239px / 2)) translateZ(0px)
    rotateY(90deg) rotateX(90deg);
  animation: openFlapRight 0.5s ease-in-out forwards;
  animation-delay: 1.8s;
}

.box-section .box__front {
  transform-style: preserve-3d;
  transform: translateZ(calc(-49.239px / 2));
  backface-visibility: hidden;
}

.box-section .box__front:before {
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: #cccbcd;
}

.box-section .box__front-face {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/61488/coolclub-front.png)
    no-repeat left top;
  background-size: cover;
  transform: rotateY(180deg);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.box-section .box__back {
  z-index: 10;
  background: transparent;
  transform: translateZ(calc(49.239px / 2)) rotateY(0deg);
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/61488/coolclub-back-2.png)
    no-repeat left top;
  background-size: cover;
}

.box-section .box__left {
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/61488/coolclub-left.png)
    no-repeat left top;
  background-size: cover;
  transform: translateX(calc(-180px / 2)) rotateY(-90deg);
  filter: brightness(0.5);
  animation: lightLeft var(--loop-dur) ease-in-out infinite;
  animation-delay: var(--intro-dur);
}

.box-section .box__right {
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/61488/coolclub-right.png)
    no-repeat left top;
  background-size: cover;
  transform: translateX(calc(180px / 2)) rotateY(90deg);
  filter: brightness(0.5);
  animation: lightRight var(--loop-dur) ease-in-out infinite;
  animation-delay: var(--intro-dur);
}

.box-section .box__bottom {
  position: absolute;
  left: 0;
  top: calc(50% - 49.239px / 2);
  width: 100%;
  height: 49.239px;
  background: #ececec;
  transform: translateY(calc(249.66px / 2)) rotateX(-90deg);
}

.box-section .card {
  position: absolute;
  left: calc((180px - 162px) / 2);
  top: 3%;
  width: 162px;
  height: 225.8928px;
  background: black;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transform-origin: center bottom;
  animation: cardPopup var(--loop-dur) ease-in-out infinite;
  animation-delay: var(--intro-dur);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.box-section .card:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/61488/fwa-cards-back.png)
    no-repeat left top;
  background-size: cover;
  backface-visibility: hidden;
  transform: rotateY(180deg);
  transform-style: preserve-3d;
}

.box-section .card--1 {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(0px) rotateY(180deg);
}

.box-section .card--2 {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(3.6px) rotateY(180deg);
}

.box-section .card--3 {
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(7.2px) rotateY(180deg);
}

.box-section .card--4 {
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(10.8px) rotateY(180deg);
}

.box-section .card--5 {
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(14.4px) rotateY(180deg);
}


.box-section .card span {
  font-family: 'Syncopate', 'JetBrains Mono', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.box-section .google-badge {
  display: block;
  margin: 0.2rem auto 0 auto;
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: none;
  background: transparent;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 0.2rem;
}

.box-section .card--1 span,
.box-section .card--3 span,
.box-section .card--5 span {
  color: #fff;
}

.box-section .card--2 span,
.box-section .card--4 span {
  color: #000;
}

/* Box Animation Keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes introSequence {
  0% { transform: translateY(100vh) rotateY(-540deg); }
  100% { transform: translateY(16vh) rotateY(0deg); }
}

@keyframes boxLoop {
  0%, 5% { transform: rotateY(0deg); }
  20%, 60% { transform: rotateY(180deg); }
  75%, 100% { transform: rotateY(360deg); }
}

@keyframes cardPopup {
  0%, 15% {
    transform: translateZ(0px) rotateY(180deg) translateY(0%) translateX(0%) rotateZ(0deg);
  }
  25% {
    transform: translateZ(0px) rotateY(180deg) translateY(var(--ty)) translateX(0%) rotateZ(0deg);
  }
  35%, 50% {
    transform: translateZ(0px) rotateY(180deg) translateY(var(--ty)) translateX(var(--tx)) rotateZ(var(--rot));
  }
  55% {
    transform: translateZ(0px) rotateY(180deg) translateY(var(--ty)) translateX(0%) rotateZ(0deg);
  }
  60% {
    transform: translateZ(0px) rotateY(180deg) translateY(var(--ty)) translateX(0%) rotateZ(0deg);
  }
  75%, 100% {
    transform: translateZ(0px) rotateY(180deg) translateY(0%) translateX(0%) rotateZ(0deg);
  }
}

@keyframes lightRight {
  0%, 5% { filter: brightness(0.5); }
  12% { filter: brightness(1.2); }
  20%, 100% { filter: brightness(0.5); }
}

@keyframes lightLeft {
  0%, 60% { filter: brightness(0.5); }
  67% { filter: brightness(1.2); }
  75%, 100% { filter: brightness(0.5); }
}

@keyframes openLid {
  0% {
    transform: translateZ(calc(-49.239px / 2))
      translateY(calc(-249.66px / 2 - 49.239px / 2 + 0.5px)) rotateY(180deg)
      rotateX(90deg);
  }
  100% {
    transform: translateZ(calc(-49.239px / 2))
      translateY(calc(-249.66px / 2 - 49.239px / 2 + 0.5px)) rotateY(180deg)
      rotateX(-135deg);
  }
}

@keyframes openLidFlap {
  0% { transform: translateY(calc(-49.239px + 1px)) rotateX(120deg); }
  100% { transform: translateY(calc(-49.239px + 1px)) rotateX(60deg); }
}

@keyframes openFlapLeft {
  0% {
    transform: translateX(calc(-180px / 2))
      translateY(calc(-249.66px / 2 - 49.239px / 2)) translateZ(0px)
      rotateY(270deg) rotateX(90deg);
  }
  100% {
    transform: translateX(calc(-180px / 2))
      translateY(calc(-249.66px / 2 - 49.239px / 2)) translateZ(0px)
      rotateY(270deg) rotateX(-45deg);
  }
}

@keyframes openFlapRight {
  0% {
    transform: translateX(calc(180px / 2))
      translateY(calc(-249.66px / 2 - 49.239px / 2)) translateZ(0px)
      rotateY(90deg) rotateX(90deg);
  }
  100% {
    transform: translateX(calc(180px / 2))
      translateY(calc(-249.66px / 2 - 49.239px / 2)) translateZ(0px)
      rotateY(90deg) rotateX(-45deg);
  }
}

/* Scene visibility triggered by scroll */
.box-section.in-view .scene {
  visibility: visible !important;
  animation: fadeIn 2s ease-out forwards;
}

/* ==================== GLOBAL MOBILE OVERRIDES ==================== */
@media (max-width: 767px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }

  .site-header {
    height: auto;
    min-height: 72px;
    padding: 0.75rem 1rem;
  }

  .header-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0;
  }

  .logo-container {
    flex: 0 0 auto;
    width: 3rem;
    height: 1.8rem;
  }

  .main-nav {
    order: 3;
    flex: 1 0 100%;
    overflow-x: hidden;
    padding-bottom: 0.25rem;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    min-width: 0;
    padding-right: 0;
  }

  .main-nav a {
    font-size: 10px;
    white-space: nowrap;
    padding-left: 8px;
  }

  .contact-link {
    order: 2;
    flex: 0 0 auto;
    text-align: right;
  }

  .contact-link a {
    font-size: 10px;
    padding: 8px 12px;
  }

  .hero-content {
    width: min(92vw, 560px);
  }

  .hero-title {
    font-size: clamp(2rem, 13vw, 3.5rem);
    letter-spacing: 0.12em;
  }

  .hero-subtitle {
    font-size: 10px;
    letter-spacing: 0.2em;
    line-height: 1.4;
  }

  .scroll-indicator {
    bottom: 1.25rem;
  }

  .text-header {
    margin: 4rem 1rem;
    min-height: 40vh;
    border-radius: 12px;
  }

  .grid-section {
    min-height: 190vh;
  }

  .content {
    padding: 1rem;
  }

  .grid {
    max-width: 100%;
    --gap: 12px;
  }

  .grid img,
  .scaler img {
    border-radius: 0.6rem;
  }

  .horizontal-text-animation .container {
    height: 65vh;
  }

  .anime-favorites-section .anime-ball {
    display: none;
  }

  .anime-favorites-section .anime-favorites-list {
    padding: 4rem 1rem 2.5rem;
  }

  .anime-favorites-section .anime-favorites-list ul li {
    opacity: 1;
    padding: 18px 0;
    margin: 0;
  }

  .anime-list-section .anime-list ul li {
    margin: 0;
  }

  .anime-favorites-section .anime-favorites-list .hover-img {
    display: none;
  }

  .anime-favorites-section .anime-favorites-list .release-year {
    width: calc((100% / 12) * 3);
  }

  .anime-favorites-section .anime-favorites-list .anime-name {
    width: calc((100% / 12) * 7);
  }

  .anime-favorites-section .anime-favorites-list .anime-name h2 {
    font-size: 16px;
    line-height: 1.35;
    word-break: break-word;
  }

  .anime-favorites-section .anime-favorites-list .redirect-link {
    width: calc((100% / 12) * 2);
  }

  .interactive-split-section {
    padding: 1rem;
    margin: 4rem 0 2rem;
    gap: 2rem;
  }

  .split-left,
  .split-right {
    padding: 0.5rem;
  }

  .plus-grid {
    font-size: 1.25rem;
  }

  .accordion-section {
    max-width: 100%;
    min-width: 0;
  }

  .accordion-section details,
  .accordion-section details[open]::details-content,
  .accordion-section summary,
  .accordion-content,
  .accordion-content p {
    width: 100%;
    max-width: 100%;
  }

  .gallery-section,
  .gallery-grid-container,
  .gallery-header,
  .content-wrap,
  .interactive-split-section,
  .anime-favorites-section,
  .anime-list-section,
  .horizontal-text-animation,
  .services-section,
  .about-section,
  .how-it-works {
    max-width: 100%;
    overflow-x: hidden;
  }
}

@media (max-width: 420px) {
  .contact-link {
    display: none;
  }

  .main-nav a {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .how-it-works-card {
    width: calc(100% - 1.25rem);
    padding: 1rem;
    min-height: 340px;
  }

  .about-section {
    padding: 2.5rem 0.875rem;
  }

  .services-container {
    padding: 0 16px;
  }

  .services-title {
    font-size: clamp(2rem, 12vw, 3rem);
  }
}

@media (max-width: 991px) {
  .hyper-scroll-section .hud {
    inset: 1rem;
  }

  .hyper-scroll-section .nav-title-text {
    font-size: clamp(3rem, 13vw, 7rem);
    letter-spacing: 0.15em;
  }

  .hyper-scroll-section .card {
    width: 260px;
    height: 380px;
    padding: 1.25rem;
  }

  .hyper-scroll-section .card h2 {
    font-size: 1.9rem;
  }

  .hyper-scroll-section .big-text {
    letter-spacing: -0.2rem;
  }

  .gallery-grid-overlay {
    display: none;
  }

  .gallery-project-title {
    font-size: 1.35rem;
  }

  .gallery-project-subtitle {
    font-size: 0.9rem;
  }
}

@media (max-width: 767px) {
  .interactive-split-section {
    --accordion-width: 100%;
    --accordion-sizing: 48px;
  }

  .hyper-scroll-section .center-nav,
  .hyper-scroll-section .hud-line,
  .hyper-scroll-section .scanlines,
  .hyper-scroll-section .noise {
    display: none;
  }

  .hyper-scroll-section .hud {
    font-size: 9px;
  }

  .hyper-scroll-section .hud-top,
  .hyper-scroll-section .hud-bottom {
    gap: 0.5rem;
  }

  .hyper-scroll-section .hyper-entry-prompt .pulse-ring {
    display: none;
  }

  .hyper-scroll-section .card {
    width: 220px;
    height: 320px;
    padding: 1rem;
  }

  .hyper-scroll-section .card h2 {
    font-size: 1.45rem;
    line-height: 1;
  }

  .hyper-scroll-section .card-footer {
    font-size: 0.62rem;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .hyper-scroll-section .big-text {
    font-size: 24vw;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  }

  .box-section .scene {
    transform: scale(0.78);
    transform-origin: center center;
  }

  .box-section .card span {
    font-size: 0.95rem;
  }

  .box-section .google-badge {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .horizontal-text-animation .animated-text {
    padding: 0 35vw;
  }

  .hyper-scroll-section .hud {
    inset: 0.75rem;
  }

  .hyper-scroll-section .nav-title-text {
    font-size: clamp(2.4rem, 14vw, 4rem);
    letter-spacing: 0.12em;
  }

  .hyper-scroll-section .card {
    width: 195px;
    height: 285px;
    padding: 0.8rem;
  }

  .hyper-scroll-section .card-header {
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .hyper-scroll-section .card-id {
    font-size: 0.65rem;
  }

  .hyper-scroll-section .card h2 {
    font-size: 1.2rem;
  }

  .box-section .scene {
    transform: scale(0.62);
  }
}

/* ==================== MOBILE CONSISTENCY PATCH ==================== */
img,
video {
  max-width: 100%;
}

.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 10, 10, 0.45);
  color: #fafafa;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.nav-open .mobile-nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.nav-open .mobile-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .mobile-nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 991px) {
  #liquid-canvas {
    display: none !important;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    overscroll-behavior-x: none;
  }

  body {
    touch-action: pan-y;
  }

  .content-wrap,
  .how-it-works,
  .about-section,
  .services-section,
  .interactive-split-section,
  .gallery-section,
  .anime-favorites-section,
  .horizontal-text-animation {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
  }

  .site-header {
    height: auto;
    min-height: 72px;
    padding: 0.75rem 1rem;
    background: rgba(10, 10, 10, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .site-header.scrolled {
    background: rgba(10, 10, 10, 0.75);
  }

  .header-container {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.75rem;
    align-items: center;
    height: auto;
    min-height: 56px;
    padding: 0;
    position: relative;
  }

  .logo-container {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  .mobile-nav-toggle {
    display: none !important;
  }

  .contact-link {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    text-align: right;
  }

  .contact-link a {
    color: #fafafa;
    font-size: 10px;
    padding: 8px 12px;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: min(460px, 100%);
    justify-self: center;
    max-height: none;
    min-height: 64px;
    opacity: 1;
    overflow: visible;
    transform: none;
    pointer-events: auto;
    padding: 4px;
    border-radius: 999px;
    background-color: rgba(187, 187, 188, 0.12);
    background-color: color-mix(in srgb, #bbbbbc 12%, transparent);
    backdrop-filter: blur(8px) saturate(160%);
    -webkit-backdrop-filter: blur(8px) saturate(160%);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.14),
      inset 1.8px 3px 0 -2px rgba(255, 255, 255, 0.72),
      inset -2px -2px 0 -2px rgba(255, 255, 255, 0.65),
      inset -0.3px -1px 4px 0 rgba(0, 0, 0, 0.18),
      0 5px 14px 0 rgba(0, 0, 0, 0.12);
    box-shadow:
      inset 0 0 0 1px color-mix(in srgb, #ffffff 14%, transparent),
      inset 1.8px 3px 0 -2px color-mix(in srgb, #ffffff 72%, transparent),
      inset -2px -2px 0 -2px color-mix(in srgb, #ffffff 65%, transparent),
      inset -0.3px -1px 4px 0 color-mix(in srgb, #000000 18%, transparent),
      0 5px 14px 0 color-mix(in srgb, #000000 12%, transparent);
  }

  .mobile-nav-knob {
    display: block;
    position: absolute;
    left: 4px;
    top: 4px;
    width: 56px;
    height: calc(100% - 8px);
    border-radius: 999px;
    z-index: 0;
    pointer-events: none;
    transition: transform 400ms cubic-bezier(1, 0, 0.4, 1), width 400ms cubic-bezier(1, 0, 0.4, 1), background-color 300ms ease;
    background-color: rgba(187, 187, 188, 0.36);
    background-color: color-mix(in srgb, #bbbbbc 36%, transparent);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.15),
      inset 2px 1px 0 -1px rgba(255, 255, 255, 0.82),
      inset -1px -1px 0 -1px rgba(255, 255, 255, 0.65),
      inset -1px 2px 3px -1px rgba(0, 0, 0, 0.24),
      0 3px 8px 0 rgba(0, 0, 0, 0.10);
    box-shadow:
      inset 0 0 0 1px color-mix(in srgb, #ffffff 15%, transparent),
      inset 2px 1px 0 -1px color-mix(in srgb, #ffffff 82%, transparent),
      inset -1px -1px 0 -1px color-mix(in srgb, #ffffff 65%, transparent),
      inset -1px 2px 3px -1px color-mix(in srgb, #000000 24%, transparent),
      0 3px 8px 0 color-mix(in srgb, #000000 10%, transparent);
  }

  .main-nav ul {
    position: relative;
    z-index: 1;
    flex-direction: row;
    gap: 0;
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 0;
    background: transparent;
    align-items: stretch;
  }

  .main-nav li {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    justify-content: center;
  }

  .main-nav a,
  .site-header.scrolled .main-nav a {
    width: 100%;
    height: 56px;
    justify-content: center;
    color: #d5dbe2;
    font-size: 0;
    letter-spacing: 0;
    padding: 0;
    border-radius: 999px;
    transition: color 200ms ease, transform 180ms ease;
  }

  .main-nav a.active,
  .site-header.scrolled .main-nav a.active {
    color: #ffffff;
  }

  .main-nav a:active {
    transform: scale(0.95);
  }

  .nav-icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
  }

  .nav-label {
    display: none;
  }

  .nav-hover-square,
  .site-header.scrolled .nav-hover-square {
    display: none;
  }

  .hero-content {
    width: min(92vw, 560px);
  }

  .hero-title {
    font-size: clamp(2rem, 12vw, 4rem);
  }

  .about-section {
    padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 2rem);
  }

  .services-section {
    padding: clamp(4rem, 10vw, 6rem) 0;
  }

  .services-container {
    padding: 0 clamp(1rem, 4vw, 2rem);
  }

  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: clamp(2.5rem, 8vw, 4rem);
    padding-bottom: 1.25rem;
  }

  .services-description {
    max-width: 100%;
  }

  .accordion-header {
    grid-template-columns: auto 1fr auto;
    row-gap: 0.5rem;
  }

  .accordion-meta {
    grid-column: 1 / -1;
    justify-self: start;
    display: flex;
    flex-wrap: wrap;
  }

  .accordion-content-inner {
    grid-template-columns: 1fr;
  }

  .box-section .scene {
    transform: scale(0.82);
    transform-origin: center;
  }
}

@media (max-width: 680px) {
  .header-container {
    grid-template-columns: auto 1fr;
  }

  .contact-link {
    display: none;
  }

  .main-nav {
    width: 100%;
    min-height: 60px;
  }

  .main-nav a,
  .site-header.scrolled .main-nav a {
    height: 52px;
  }

  .nav-icon {
    width: 22px;
    height: 22px;
  }

  .hero-subtitle {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .anime-favorites-section .anime-favorites-list {
    padding: 4rem 1rem 2rem;
  }

  .anime-favorites-section .anime-favorites-list .anime-name h2 {
    font-size: 16px;
    line-height: 1.35;
    word-break: break-word;
  }

  .anime-favorites-section .anime-favorites-list .release-year {
    width: calc((100% / 12) * 3);
  }

  .anime-favorites-section .anime-favorites-list .anime-name {
    width: calc((100% / 12) * 7);
  }

  .anime-favorites-section .anime-favorites-list .redirect-link {
    width: calc((100% / 12) * 2);
  }

  .anime-favorites-section .anime-favorites-list .hover-img,
  .anime-list-section .anime-list .hover-img,
  .anime-favorites-section .anime-ball,
  .anime-list-section .ball {
    display: none;
  }

  .testimonials-track {
    gap: 12px;
  }

  .testimonial-card {
    padding: 1.25rem;
  }

  .testimonial-text {
    font-size: 15px;
    line-height: 1.5;
    padding-right: 2rem;
  }

  .gallery-close-btn {
    top: 0.75rem;
    right: 0.75rem;
  }
}

@media (hover: none), (pointer: coarse) {
  .cookie-btn:hover .btn-text-primary,
  .cookie-btn:hover .btn-text-secondary,
  .accordion-header:hover,
  .accordion-image:hover img,
  .accordion-image:hover .image-overlay,
  .services-cta-btn:hover::before,
  .services-cta-btn:hover span,
  .services-cta-btn:hover .cta-arrow,
  .services-cta-btn:hover .cta-arrow svg,
  .anime-favorites-section .anime-favorites-list .redirect-link a:hover,
  .anime-list-section .anime-list .redirect-link a:hover {
    transform: none;
    opacity: inherit;
  }

  .touch-mode .anime-list-section .anime-list ul li,
  .touch-mode .anime-favorites-section .anime-favorites-list ul li {
    opacity: 0.65;
  }

  .touch-mode .anime-list-section .anime-list ul li.is-active,
  .touch-mode .anime-favorites-section .anime-favorites-list ul li.is-active {
    opacity: 1;
  }

  .touch-mode .anime-list-section .anime-list ul li.is-active::after,
  .touch-mode .anime-favorites-section .anime-favorites-list ul li.is-active::after {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
