/* ============================================
   PORTFOLIO DESIGN SYSTEM
   ============================================ */

@font-face {
  font-family: 'PP Radio Grotesk';
  src: url('../assets/fonts/PPRadioGrotesk-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'PT Serif';
  src: url('../assets/fonts/PTSerif-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'PP Neue Machina';
  src: url('../assets/fonts/PPNeueMachina-InktrapLight.otf');
}

:root {
  /* ===== COLORS ===== */
  --main-highlight: #009E66;
  --try-highlight: #71bacf;
  --main-background: #F4F5F4;
  --text-color: #474838;
  --fainted-text-color: #74765e;

  /* ===== TYPOGRAPHY ===== */
  /* Font Families */
  --font-primary: 'PP Neue Machina', sans-serif;
  --font-secondary: 'PP Radio Grotesk', sans-serif;

  /* Font Sizes - PP Neue Machina */
  --nav-text: 15px;
  --nav-text-mobile: 14px;
  --footer-card-text: 24px;

  /* Font Sizes - Radio Grotesk */
  --h1: 72px;
  --h2: 30px;
  --h3: 20px;
  --h1-mobile: 44px;
  --learning-text: 24px;
  --overview-text: 16px;
  --project-title: 20px;

  /* ===== SPACING SYSTEM (multiples of 6) ===== */
  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 18px;
  --space-lg: 24px;
  --space-xl: 30px;
  --space-2xl: 36px;
  --space-3xl: 48px;
  --space-4xl: 60px;
  --space-5xl: 72px;
  --space-6xl: 96px;

  /* ===== LAYOUT ===== */
  --max-width: 1400px;
  --border-radius: 0;
  --page-margin: clamp(120px, 12.34vw, 237px);
  --navbar-left-padding: clamp(36px, 3vw, 57px);

  /* Container padding */
  --container-padding: 24px;
  --container-padding-mobile: 18px;
}

/* ============================================
   BASE STYLES
   ============================================ */

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none;
}

::selection {
  background-color: var(--main-highlight);
  color: var(--main-background);
}

::-moz-selection {
  background-color: var(--main-highlight);
  color: var(--main-background);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  font-size: var(--overview-text);
  color: var(--text-color);
  background-color: var(--main-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.loaded {
  opacity: 1;
}

/* ===== PLACEHOLDER VISIBILITY ===== */
/* Hide empty placeholder divs to prevent flash before JS injection */
#cursor-component:empty,
#navbar-component:empty,
#footer-component:empty {
  display: none;
}

/* Prevent images from stretching during load */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== CURSOR SYSTEM ===== */

@keyframes growThenDraw {
  0% {
    max-width: 20px;
    height: 20px;
    border-radius: 0;
    padding: 0;
  }
  100% {
    max-width: 300px;
    height: 36px;
    border-radius: 0;
    padding: 8px 16px;
  }
}

.cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.cursor-inner {
  position: absolute;
  left: -6px;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  max-width: 12px;
  border-radius: 0;
  background-color: var(--main-highlight);
  padding: 0;
  transform: translateY(-50%);
  transform-origin: left center;
  overflow: hidden;
  transition: max-width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              padding 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cursor-content {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fafaec;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.cursor-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: none;
}

.cursor-icon.active {
  display: block;
}

.cursor-text {
  line-height: 1;
  position: relative;
  top: 1px;
}

/* Cursor States */

.cursor-inner {
  transition: width 0.2s ease, height 0.2s ease, left 0.2s ease, opacity 0.2s ease;
}

.cursor.hover .cursor-inner {
  width: 24px;
  height: 24px;
  max-width: 24px;
  left: -12px;
  opacity: 0.8;
}

.cursor.project-hover .cursor-inner,
.cursor.email-hover .cursor-inner,
.cursor.nav-hover .cursor-inner,
.cursor.external-hover .cursor-inner,
.cursor.theme-hover .cursor-inner {
  width: fit-content;
  max-width: 300px;
  height: 36px;
  padding: 8px 16px;
}

.cursor.project-hover .cursor-content,
.cursor.email-hover .cursor-content,
.cursor.nav-hover .cursor-content,
.cursor.external-hover .cursor-content,
.cursor.theme-hover .cursor-content {
  opacity: 1;
  transition-delay: 0.18s;
}

/* ===== TYPOGRAPHY ===== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  line-height: 1.1;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 {
  font-size: var(--h1);
}

h2 {
  font-size: var(--h2);
}

h3 {
  font-size: var(--h3);
}

p {
  margin-bottom: var(--space-md);
  font-family: var(--font-secondary);
}

.text-fainted {
  color: var(--fainted-text-color);
}

.text-learning {
  font-size: var(--learning-text);
}

/* ===== MOBILE: HIDE CURSOR & DISABLE HOVER ===== */
@media (max-width: 1024px) {
  .cursor {
    display: none !important;
  }

  * {
    cursor: auto !important;
  }

  a:hover {
    color: inherit;
  }

  .nav-link {
    color: var(--text-color) !important;
    transition: none !important;
  }

  .nav-link:hover {
    color: var(--text-color) !important;
  }

  .nav-link:active {
    color: var(--main-highlight) !important;
  }

  .project-card:hover .project-image img {
    transform: none !important;
  }

  .project-context {
    transition: none !important;
  }

  .project-card:hover .project-context {
    color: var(--fainted-text-color) !important;
  }

  .project-title {
    font-size: 16px;
  }

  .footer-card,
  .footer-card img,
  .footer-card video,
  .footer-card canvas,
  .footer-card-overlay,
  .footer-card-solid .footer-card-overlay-full,
  .footer-card-text {
    transition: none !important;
  }

  .footer-card:hover img,
  .footer-card:hover video,
  .footer-card:hover canvas {
    transform: scale(1.1) !important;
  }

  .footer-card:hover .footer-card-overlay {
    opacity: 0.75 !important;
  }

  .footer-card:hover .footer-card-overlay-full,
  .footer-card:hover .footer-card-text {
    opacity: 1 !important;
  }

  .footer-link {
    color: var(--main-highlight) !important;
    transition: none !important;
  }

  .footer-link:hover {
    color: var(--main-highlight) !important;
  }

  .sidebar-back:hover {
    color: var(--text-color);
  }

  .sidebar-back:hover .sidebar-arrow {
    width: 24px;
    color: var(--fainted-text-color);
  }

  .about-cta a {
    color: var(--main-highlight) !important;
    transition: none !important;
  }

  .about-cta a:hover {
    color: var(--main-highlight) !important;
  }
}

/* ===== LINKS ===== */

a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--main-highlight);
}

/* ===== CONTAINER ===== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ===== IMAGES ===== */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

/* Reserve space for navbar to prevent layout shift */
#navbar-component {
  height: 64px;
  width: 100%;
  background-color: var(--main-background);
  border-bottom: 0.6px solid rgba(172, 172, 154, 0.6);
}

.navbar {
  width: 100%;
  height: 64px;
  background-color: var(--main-background);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 0.6px solid rgba(172, 172, 154, 0.6);
}

.navbar-container {
  width: 100%;
  height: 100%;
  padding: 0 var(--page-margin) 0 var(--navbar-left-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 31px;
  text-decoration: none;
  color: inherit;
}

.navbar-name {
  font-family: var(--font-primary);
  font-size: var(--nav-text);
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.navbar-title {
  font-family: var(--font-primary);
  font-size: var(--nav-text);
  color: var(--fainted-text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.navbar-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.navbar-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-color);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-burger.open span:nth-child(2) {
  opacity: 0;
}

.navbar-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.navbar-links {
  display: flex;
  gap: 42px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-primary);
  font-size: var(--nav-text);
  color: var(--fainted-text-color);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nav-link:hover,
.nav-link.active {
  color: var(--main-highlight);
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
  margin: 0 var(--page-margin);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding-top: 225px;
  margin-bottom: 32px;
  display: flex;
  align-items: flex-end;
  gap: 48px;
}

.hero h1 {
  font-family: var(--font-secondary);
  font-size: var(--h1);
  color: var(--text-color);
  line-height: 1.1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */

.projects {
  width: 100%;
}

.project-card {
  width: 100%;
  height: auto;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.project-card:last-child {
  margin-bottom: 32px;
}

.project-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background-color: #e0e0d8;
  overflow: hidden;
}

.project-image img,
.project-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 0.4s ease-out;
}

.project-image video {
  object-position: center center;
  will-change: transform;
}

.project-info {
  width: 100%;
  height: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-title {
  font-family: var(--font-secondary);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-color);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.project-context {
  font-family: var(--font-primary);
  font-size: var(--nav-text);
  color: var(--fainted-text-color);
  text-transform: uppercase;
  margin: 0;
  transition: color 0.3s ease;
}

.project-card:hover .project-context {
  color: var(--text-color);
}

/* ============================================
   RECENT ADVENTURES
   ============================================ */

.adventures {
  flex: 1;
  align-self: flex-end;
  margin-left: auto;
  margin-bottom: 8px;
}

.adventures-title {
  font-family: var(--font-primary);
  font-size: var(--nav-text);
  color: var(--fainted-text-color);
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.adventures-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  row-gap: 7px;
}

.adventure-context {
  font-family: var(--font-primary);
  font-size: var(--nav-text);
  color: var(--fainted-text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 0;
  white-space: nowrap;
  text-align: right;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  width: 100%;
  margin-bottom: 16px;
}

.footer-divider {
  width: calc(100% - 2 * var(--page-margin));
  height: 1px;
  background-color: rgba(172, 172, 154, 0.6);
  margin: 0 var(--page-margin) 64px;
}

/* Make footer divider visible on project pages */
.project-layout ~ .footer .footer-divider {
  margin-top: 64px;
}

.footer-content {
  padding: 0 var(--page-margin);
}

.footer-cards {
  display: flex;
  gap: 4px;
  width: 100%;
  margin-bottom: 32px;
}

.footer-card {
  position: relative;
  flex: 1;
  height: clamp(150px, 11.875vw, 228px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}

.footer-card img,
.footer-card video,
.footer-card canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transform: scale(1.1);
  transition: transform 0.5s ease-out, filter 0.3s ease;
}

.footer-card-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #121715;
  opacity: 0.75;
  z-index: 2;
  transition: opacity 0.3s ease;
}


.footer-card-solid .footer-card-overlay-full {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--main-highlight);
  z-index: 2;
  transition: opacity 0.3s ease;
}

.footer-card-text {
  position: relative;
  z-index: 3;
  font-family: var(--font-primary);
  font-size: var(--footer-card-text);
  font-weight: normal;
  color: #fafaec;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.footer-card:hover img,
.footer-card:hover video,
.footer-card:hover canvas {
  filter: blur(0);
}

.footer-card:hover .footer-card-overlay,
.footer-card:hover .footer-card-overlay-full,
.footer-card:hover .footer-card-text {
  opacity: 0;
}

.footer-socials {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 32px;
}

.footer-credit {
  font-family: var(--font-primary);
  font-size: var(--nav-text);
  color: var(--fainted-text-color);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 42px;
}

.footer-link {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: var(--nav-text);
  color: var(--fainted-text-color);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 4px 0;
}

.footer-link:hover {
  color: var(--main-highlight);
}

/* ===== RESPONSIVE ===== */

/* Medium Desktop: 1025px - 1680px */
@media (max-width: 1680px) and (min-width: 1025px) {
  .hero h1 {
    font-size: 60px;
  }
}


/* Tablet: 768px - 1024px */
@media (max-width: 1024px) and (min-width: 768px) {
  .hero h1 {
    font-size: 56px;
  }
}

/* Mobile & Tablet */
@media (max-width: 1024px) {
  .navbar {
    height: 56px;
  }

  .navbar-container {
    padding: 0 18px;
  }

  .navbar-brand {
    gap: 12px;
  }

  .navbar-name,
  .navbar-title,
  .nav-link {
    font-size: var(--nav-text-mobile);
  }

  .navbar-burger {
    display: flex;
  }

  .navbar-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--main-background);
    padding: 18px;
    gap: 18px;
    border-bottom: 0.6px solid rgba(172, 172, 154, 0.6);
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-links .nav-link {
    padding: 6px 0;
  }

  @media (max-width: 480px) {
    .navbar-title {
      display: none;
    }
  }

  .main-content {
    margin: 32px 18px 0;
  }

  .hero {
    height: auto;
    padding-top: 96px;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: var(--h1-mobile);
  }

  .adventures {
    width: 100%;
    margin-left: 0;
  }

  .adventures-list {
    align-items: flex-start;
  }

  .adventure-context {
    text-align: left;
  }

  .project-card {
    height: auto;
    margin-bottom: 32px;
    gap: 6px;
  }

  .project-image {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .project-image video {
    object-position: center center;
  }

  .project-info {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    gap: 6px;
  }

  .adventure-date {
    width: 20%;
  }

  .adventure-company {
    width: 40%;
  }

  .footer-divider {
    margin: 0 18px 32px;
    width: calc(100% - 36px);
  }

  .footer-content {
    padding: 0 18px;
  }

  .footer-cards {
    flex-direction: column;
  }

  .footer-card {
    flex: none;
    height: clamp(150px, 22vw, 228px);
    width: 100%;
  }

  .footer-socials {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .project-image {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* ===== PROJECT PAGES ===== */

.project-layout {
  display: flex;
  padding: 0 var(--page-margin);
  gap: 48px;
  max-width: 1920px;
  margin: 0 auto;
}

/* PROJECT SIDEBAR */

.project-sidebar {
  position: sticky;
  top: 40%;
  transform: translateY(-50%);
  align-self: flex-start;
  width: 200px;
  flex-shrink: 0;
}

.sidebar-back {
  font-family: var(--font-primary);
  font-size: var(--nav-text);
  color: var(--text-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
  transition: color 0.3s ease;
}

.sidebar-back:hover {
  color: var(--main-highlight);
}

.sidebar-arrow {
  width: 24px;
  height: 14px;
  color: var(--fainted-text-color);
  transition: width 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.sidebar-back-text {
  transition: transform 0.3s ease;
}

.sidebar-back:hover .sidebar-arrow {
  width: 28px;
  color: var(--main-highlight);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-link {
  font-family: var(--font-primary);
  font-size: var(--nav-text);
  color: var(--fainted-text-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
  color: var(--main-highlight);
}

/* PROJECT MAIN CONTENT */

.project-main {
  flex: 1;
}

/* PROJECT HEADER */

.project-header {
  margin-bottom: 48px;
}

.project-logo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 64px;
  overflow: hidden;
  background: #000;
}

.project-logo img,
.project-logo video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-breadcrumb {
  font-family: var(--font-primary);
  font-size: var(--nav-text);
  color: var(--fainted-text-color);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 12px;
}

.project-h1 {
  font-family: var(--font-secondary);
  font-size: var(--h1);
  font-weight: 300;
  color: var(--text-color);
  line-height: 1.1;
  margin-bottom: 24px;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 96px;
}

.meta-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-label {
  font-family: var(--font-primary);
  font-size: var(--nav-text);
  color: var(--fainted-text-color);
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}

.meta-value {
  font-family: var(--font-secondary);
  font-size: var(--overview-text);
  color: var(--text-color);
  line-height: 1.7;
  margin: 0;
}

/* CONTENT SECTIONS */

.content-section {
  margin-bottom: 96px;
  scroll-margin-top: 120px;
}

.section-label {
  font-family: var(--font-primary);
  font-size: var(--nav-text);
  color: var(--fainted-text-color);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-secondary);
  font-size: var(--h2);
  font-weight: 300;
  color: var(--text-color);
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-text {
  font-family: var(--font-secondary);
  font-size: var(--overview-text);
  color: var(--fainted-text-color);
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.section-text-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.section-text-row .section-text {
  flex: 1;
  margin-bottom: 0;
}

/* IMAGE GRIDS */

.section-image,
.section-images {
  margin-top: 0;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #e5e5d8;
  border-radius: 0;
}

.image-grid-2,
.image-grid-3,
.image-grid-4 {
  display: grid;
  gap: 4px;
}

.image-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.image-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.image-grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

.image-grid-2 img,
.image-grid-2 video,
.image-grid-3 img,
.image-grid-3 video,
.image-grid-4 img,
.image-grid-4 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.results-grid {
  display: flex;
  gap: 4px;
}

.results-grid-left {
  flex: 1;
  min-width: 0;
  object-fit: cover;
  display: block;
}

.results-grid-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.results-grid-right img {
  flex: 1;
  min-height: 0;
  object-fit: cover;
  display: block;
}

/* PROCESS STEPS */

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 32px;
  margin-bottom: 24px;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-title {
  font-family: var(--font-secondary);
  font-size: var(--h3);
  font-weight: 400;
  color: var(--text-color);
  line-height: 1.1;
}

.process-step .section-text-row {
  margin-bottom: 0;
}

.step-text {
  font-family: var(--font-secondary);
  font-size: var(--overview-text);
  color: var(--fainted-text-color);
  line-height: 1.7;
  margin: 0;
}

/* LEARNINGS */

.learnings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.learning-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.learning-title {
  font-family: var(--font-secondary);
  font-size: var(--h3);
  font-weight: 400;
  color: var(--text-color);
  line-height: 1.1;
}

.learning-text {
  font-family: var(--font-secondary);
  font-size: var(--overview-text);
  color: var(--fainted-text-color);
  line-height: 1.7;
  margin: 0;
}

/* Project pages responsive */
@media (max-width: 1200px) {
  .project-sidebar {
    display: none;
  }

  .project-layout {
    padding: 0 18px;
    gap: 0;
  }

  .project-h1 {
    font-size: var(--h1-mobile);
  }

  .project-meta {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 48px;
  }

  .project-logo {
    margin-bottom: 32px;
  }

  .section-text-row {
    flex-direction: column;
    gap: 0;
  }

  .section-text {
    line-height: 1.8;
  }

  .learnings-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .image-grid-2,
  .image-grid-3,
  .image-grid-4 {
    grid-template-columns: 1fr;
  }

  .image-grid-2 img,
  .image-grid-2 video,
  .image-grid-3 img,
  .image-grid-3 video,
  .image-grid-4 img,
  .image-grid-4 video {
    aspect-ratio: 16 / 9;
  }

  .app-image-grid {
    grid-template-columns: 1fr;
  }

  .app-image {
    aspect-ratio: 16 / 9;
  }

  .results-grid {
    flex-direction: column;
  }

  .results-grid-left {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .results-grid-right img {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .feature-image-grid {
    flex-direction: column;
  }

  .feature-image {
    width: 100%;
  }

  .feature-image:first-child img,
  .feature-image-match img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .feature-image-match {
    padding-left: 0;
  }

  .content-section {
    margin-bottom: 48px;
  }
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-content {
  margin-top: 0;
}

.about-hero {
  height: auto;
  padding-top: 225px;
  padding-bottom: var(--space-3xl);
  margin-bottom: 0;
}

.about-section {
  margin-bottom: var(--space-5xl);
}

.about-text {
  width: 100%;
  margin-bottom: var(--space-lg);
}

.about-text p {
  font-family: var(--font-secondary);
  font-size: var(--overview-text);
  color: var(--fainted-text-color);
  line-height: 1.7;
  margin-bottom: var(--space-xs);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.about-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.app-image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.app-image {
  aspect-ratio: 9 / 16;
  overflow: hidden;
}

.app-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-image-grid {
  display: flex;
  gap: 4px;
  align-items: flex-start;
}

.feature-image {
  flex: 1;
  min-width: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.feature-image:first-child img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-image-match {
  overflow: hidden;
  align-self: stretch;
  justify-content: flex-end;
  padding-right: 0;
  padding-left: 40px;
}

.feature-image-match img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.campaign-stacked-row {
  display: flex;
  gap: 4px;
  margin-top: -8px;
  overflow: hidden;
}

.campaign-stacked-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.campaign-stacked-left img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: contain;
  display: block;
}

.campaign-stacked-row > img {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-image:nth-child(2) img {
  object-position: left;
}

.app-image:nth-child(3) img {
  object-position: right;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-books-intro {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.about-books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.about-book {
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.about-book img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-cta {
  width: 100%;
  margin-bottom: var(--space-5xl);
}

.about-cta p {
  font-family: var(--font-secondary);
  font-size: var(--overview-text);
  color: var(--text-color);
  line-height: 1.7;
}

.about-cta a {
  font-weight: 600;
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.about-cta a:hover {
  color: var(--main-highlight);
}

/* About page responsive */
@media (max-width: 1024px) {
  .about-hero {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-lg);
  }

  .about-image-grid,
  .about-books-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   PLAY PAGE
   ============================================ */

.play-content {
  margin-top: 0;
}

.play-hero {
  height: auto;
  padding-top: 225px;
  padding-bottom: var(--space-3xl);
  margin-bottom: 0;
}

.play-section {
  margin-bottom: var(--space-5xl);
}

.play-label {
  font-family: var(--font-primary);
  font-size: var(--nav-text);
  color: var(--fainted-text-color);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.play-text {
  font-family: var(--font-secondary);
  font-size: var(--overview-text);
  color: var(--fainted-text-color);
  line-height: 1.7;
  width: 100%;
  margin-bottom: var(--space-xs);
}

.play-text:last-of-type {
  margin-bottom: var(--space-lg);
}

.play-text a {
  text-decoration: underline;
}

.play-image-full {
  width: 100%;
  margin-bottom: 4px;
}

.play-image-full img {
  width: 100%;
  aspect-ratio: 1446 / 812;
  object-fit: cover;
}

.play-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}

.play-grid-image {
  width: 100%;
  overflow: hidden;
}

.play-grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-grid-batman {
  display: grid;
  grid-template-columns: 800fr 640fr;
  gap: 4px;
  margin-bottom: 4px;
}

.play-grid-image-left img {
  aspect-ratio: 800 / 376;
}

.play-grid-image-right img {
  aspect-ratio: 640 / 376;
}

.play-grid-print {
  display: grid;
  grid-template-columns: 640fr 800fr;
  gap: 4px;
  margin-bottom: 4px;
}

.play-grid-print .play-grid-image-left img {
  aspect-ratio: 640 / 376;
}

.play-grid-print .play-grid-image-right img {
  aspect-ratio: 800 / 376;
}

.play-grid-image-top img {
  object-position: top;
}

.play-grid-image-bottom img {
  object-position: bottom;
}

.play-grid-image-below-center img {
  object-position: center 60%;
}

.play-placeholder {
  background-color: #e5e5d8;
}

.play-grid-image-left.play-placeholder {
  aspect-ratio: 800 / 376;
}

.play-grid-image-right.play-placeholder {
  aspect-ratio: 640 / 376;
}

.play-grid-print .play-grid-image-left.play-placeholder {
  aspect-ratio: 640 / 376;
}

.play-grid-print .play-grid-image-right.play-placeholder {
  aspect-ratio: 800 / 376;
}

.play-image-batman {
  width: 100%;
  margin-bottom: 4px;
  overflow: hidden;
}

.play-image-batman img {
  width: 100%;
  aspect-ratio: 1446 / 606;
  object-fit: cover;
  object-position: bottom;
  transform: scale(1.003) translateX(-2px);
}

/* Play page responsive */
@media (max-width: 1024px) {
  .play-hero {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-lg);
  }

  .play-grid-2,
  .play-grid-batman,
  .play-grid-print {
    grid-template-columns: 1fr;
  }

  .play-grid-image img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .play-image-batman img {
    aspect-ratio: 16 / 9;
    object-position: center;
  }
}


/* ===== THEME TOGGLE ===== */

/* Light mode: O is hidden (sun takes its place), C is visible */
.theme-o {
  display: none;
}

.theme-toggle {
  display: inline-block;
  position: relative;
  width: 0.88em;
  height: 0.88em;
  vertical-align: -0.08em;
  background: none;
  border: none;
  padding: 0;
  margin: -0.05em;
  cursor: none;
  color: var(--main-highlight);
  font-family: inherit;
  font-size: inherit;
  transition: color 0.2s ease;
  line-height: 1;
}

.theme-toggle:hover {
  color: var(--main-highlight);
}

/* Both icons: absolutely stacked — all animation driven by JS/WAAPI, no CSS transition */
.theme-toggle svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* Morph intermediate — a filled circle that slides between icons */
.theme-toggle .icon-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68%;
  height: 68%;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
}

/* Moon: hollow crescent */
.theme-toggle .icon-moon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Sun: stroke-based */
.theme-toggle .icon-sun {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Light mode: moon faded + rotated away, sun visible */
.theme-toggle .icon-moon {
  left: 2px; /* nudge right so it doesn't crowd the preceding letter */
  opacity: 0;
  transform: rotate(-45deg) scale(0.5);
}

.theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Keep hollow on hover */
.theme-toggle:hover .icon-moon path {
  fill: none;
}

.theme-toggle:hover .icon-sun circle {
  fill: none;
}

/* Fill icons for the full duration of the theme transition */
.theme-toggle.is-transitioning .icon-moon path {
  fill: currentColor;
  stroke: none;
}

.theme-toggle.is-transitioning .icon-sun circle {
  fill: currentColor;
}

/* ===== DARK MODE ===== */

[data-theme="dark"] {
  --main-background: #121715;
  --text-color: #e2e2cc;
  --fainted-text-color: #7c7e6a;
  --main-highlight: #009E66;
  color-scheme: dark;
}

/* Dark mode: C is hidden (moon takes its place), O is visible */
[data-theme="dark"] .theme-c {
  display: none;
}

[data-theme="dark"] .theme-o {
  display: inline;
}

/* Dark mode: sun faded + rotated away, moon visible */
[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(45deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Dark mode: override hardcoded border/divider colors */
[data-theme="dark"] #navbar-component,
[data-theme="dark"] .navbar {
  border-bottom-color: rgba(70, 68, 50, 0.6);
}

[data-theme="dark"] .footer-divider {
  background-color: rgba(70, 68, 50, 0.6);
}

[data-theme="dark"] .navbar-links {
  border-bottom-color: rgba(70, 68, 50, 0.6);
}

/* Dark mode: override hardcoded placeholder/image backgrounds */
[data-theme="dark"] .project-image {
  background-color: #252518;
}

[data-theme="dark"] .image-placeholder,
[data-theme="dark"] .play-placeholder {
  background-color: #252518;
}

[data-theme="dark"] .feature-image {
  background: #fff;
}


@media (max-width: 1024px) {
  .theme-toggle {
    vertical-align: -0.08em;
  }
}

/* iOS Safari only: fix icon vertical alignment */
@supports (-webkit-touch-callout: none) {
  .theme-toggle {
    vertical-align: 0.35em;
  }
}

@media print {
  .theme-toggle {
    display: none;
  }
}


/* ===== THEME TRANSITION ===== */

/* Wipe overlay: old-theme background that clips away to reveal new theme */
.theme-wipe-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
}


/* ===== CUSTOM SCROLLBAR ===== */

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(71, 72, 56, 0.35) transparent;
}

/* WebKit (Chrome, Edge, Safari)
   Total width = 14px visible track + 12px screen-edge gap */
::-webkit-scrollbar {
  width: 26px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

/* Thumb: 6px visible, floats 12px from screen edge via right border */
::-webkit-scrollbar-thumb {
  background: rgba(71, 72, 56, 0.35);
  border-radius: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 4px solid transparent;
  border-right: 16px solid transparent; /* 4px inner gap + 12px screen margin */
  background-clip: padding-box;
  min-height: 48px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(71, 72, 56, 0.65);
  background-clip: padding-box;
}

/* Arrow buttons: 26px wide to match track, 28px tall, no background by default */
::-webkit-scrollbar-button {
  display: block;
  height: 28px;
  width: 26px;
  background-repeat: no-repeat;
  background-color: transparent;
}

::-webkit-scrollbar-button:vertical:decrement:end { display: none; }
::-webkit-scrollbar-button:vertical:increment:start { display: none; }

/* Up arrow — top only, arrow centred in the 14px visible column */
::-webkit-scrollbar-button:vertical:decrement:start {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'><path d='M1 8L7 2L13 8' stroke='%23474838' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-position: calc(50% - 6px) center;
  background-size: 14px 9px;
}

/* Down arrow — bottom only */
::-webkit-scrollbar-button:vertical:increment:end {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'><path d='M1 1L7 7L13 1' stroke='%23474838' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-position: calc(50% - 6px) center;
  background-size: 14px 9px;
}

/* Hover: fill only the 14px visible column, not the 12px gap */
::-webkit-scrollbar-button:vertical:decrement:start:hover {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'><path d='M1 8L7 2L13 8' stroke='%23474838' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"),
    linear-gradient(to right, rgba(71, 72, 56, 0.09) 14px, transparent 14px);
  background-position: calc(50% - 6px) center, 0 0;
  background-size: 14px 9px, 100% 100%;
}

::-webkit-scrollbar-button:vertical:increment:end:hover {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'><path d='M1 1L7 7L13 1' stroke='%23474838' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"),
    linear-gradient(to right, rgba(71, 72, 56, 0.09) 14px, transparent 14px);
  background-position: calc(50% - 6px) center, 0 0;
  background-size: 14px 9px, 100% 100%;
}

/* ---- Dark mode ---- */
[data-theme="dark"] * {
  scrollbar-color: rgba(226, 226, 204, 0.25) transparent;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: rgba(226, 226, 204, 0.25);
  background-clip: padding-box;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(226, 226, 204, 0.5);
  background-clip: padding-box;
}

[data-theme="dark"] ::-webkit-scrollbar-button:vertical:decrement:start {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'><path d='M1 8L7 2L13 8' stroke='%23e2e2cc' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-position: calc(50% - 6px) center;
  background-size: 14px 9px;
}

[data-theme="dark"] ::-webkit-scrollbar-button:vertical:increment:end {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'><path d='M1 1L7 7L13 1' stroke='%23e2e2cc' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-position: calc(50% - 6px) center;
  background-size: 14px 9px;
}

[data-theme="dark"] ::-webkit-scrollbar-button:vertical:decrement:start:hover {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'><path d='M1 8L7 2L13 8' stroke='%23e2e2cc' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"),
    linear-gradient(to right, rgba(226, 226, 204, 0.09) 14px, transparent 14px);
  background-position: calc(50% - 6px) center, 0 0;
  background-size: 14px 9px, 100% 100%;
}

[data-theme="dark"] ::-webkit-scrollbar-button:vertical:increment:end:hover {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'><path d='M1 1L7 7L13 1' stroke='%23e2e2cc' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"),
    linear-gradient(to right, rgba(226, 226, 204, 0.09) 14px, transparent 14px);
  background-position: calc(50% - 6px) center, 0 0;
  background-size: 14px 9px, 100% 100%;
}

/* ---- Cross-fade all colours during theme transition ---- */
html.theme-transitioning *:not(.theme-toggle):not(.theme-toggle *):not(.cursor):not(.cursor *) {
  transition: color 1.2s ease, background-color 1.2s ease, border-color 1.2s ease, fill 1.2s ease, stroke 1.2s ease !important;
}

/* ---- Freeze scrollbar during theme transition ---- */
/* Transitioning TO dark → hold light-theme scrollbar until wipe finishes */
.theme-transitioning[data-theme="dark"] * {
  scrollbar-color: rgba(71, 72, 56, 0.35) transparent;
}
.theme-transitioning[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: rgba(71, 72, 56, 0.35);
  background-clip: padding-box;
}
.theme-transitioning[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(71, 72, 56, 0.65);
  background-clip: padding-box;
}
.theme-transitioning[data-theme="dark"] ::-webkit-scrollbar-button:vertical:decrement:start {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'><path d='M1 8L7 2L13 8' stroke='%23474838' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-position: calc(50% - 6px) center;
  background-size: 14px 9px;
}
.theme-transitioning[data-theme="dark"] ::-webkit-scrollbar-button:vertical:increment:end {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'><path d='M1 1L7 7L13 1' stroke='%23474838' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-position: calc(50% - 6px) center;
  background-size: 14px 9px;
}
.theme-transitioning[data-theme="dark"] ::-webkit-scrollbar-button:vertical:decrement:start:hover {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'><path d='M1 8L7 2L13 8' stroke='%23474838' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"),
    linear-gradient(to right, rgba(71, 72, 56, 0.09) 14px, transparent 14px);
  background-position: calc(50% - 6px) center, 0 0;
  background-size: 14px 9px, 100% 100%;
}
.theme-transitioning[data-theme="dark"] ::-webkit-scrollbar-button:vertical:increment:end:hover {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'><path d='M1 1L7 7L13 1' stroke='%23474838' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"),
    linear-gradient(to right, rgba(71, 72, 56, 0.09) 14px, transparent 14px);
  background-position: calc(50% - 6px) center, 0 0;
  background-size: 14px 9px, 100% 100%;
}

/* Transitioning TO light → hold dark-theme scrollbar until wipe finishes */
.theme-transitioning[data-theme="light"] * {
  scrollbar-color: rgba(226, 226, 204, 0.25) transparent;
}
.theme-transitioning[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: rgba(226, 226, 204, 0.25);
  background-clip: padding-box;
}
.theme-transitioning[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(226, 226, 204, 0.5);
  background-clip: padding-box;
}
.theme-transitioning[data-theme="light"] ::-webkit-scrollbar-button:vertical:decrement:start {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'><path d='M1 8L7 2L13 8' stroke='%23e2e2cc' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-position: calc(50% - 6px) center;
  background-size: 14px 9px;
}
.theme-transitioning[data-theme="light"] ::-webkit-scrollbar-button:vertical:increment:end {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'><path d='M1 1L7 7L13 1' stroke='%23e2e2cc' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-position: calc(50% - 6px) center;
  background-size: 14px 9px;
}
.theme-transitioning[data-theme="light"] ::-webkit-scrollbar-button:vertical:decrement:start:hover {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'><path d='M1 8L7 2L13 8' stroke='%23e2e2cc' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"),
    linear-gradient(to right, rgba(226, 226, 204, 0.09) 14px, transparent 14px);
  background-position: calc(50% - 6px) center, 0 0;
  background-size: 14px 9px, 100% 100%;
}
.theme-transitioning[data-theme="light"] ::-webkit-scrollbar-button:vertical:increment:end:hover {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'><path d='M1 1L7 7L13 1' stroke='%23e2e2cc' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"),
    linear-gradient(to right, rgba(226, 226, 204, 0.09) 14px, transparent 14px);
  background-position: calc(50% - 6px) center, 0 0;
  background-size: 14px 9px, 100% 100%;
}
