/* ==========================================
   COS STYLE REFERENCE - MERT DURHAN PORTFOLIO
   Theme: Light (White-Walled Fashion Gallery)
   ========================================== */

:root {
  /* Colors */
  --color-canvas-white: #faf9f6; /* Alabaster / Art Gallery Wall */
  --color-ink-black: #111111; /* Gallery Charcoal for softer contrast */
  --color-true-black: #000000;
  --color-mist-gray: #e0deda;
  --color-signal-red: #c80000;

  /* Typography — Font Families */
  --font-suisseintl: 'Inter', 'Helvetica Neue', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Typography — Scale */
  --text-caption: 12px;
  --leading-caption: 1.4;
  --tracking-caption: 0.12px;
  
  --text-subheading: 13px;
  --leading-subheading: 1.45;
  --tracking-subheading: 0.26px;

  --text-body: 16px;
  --leading-body: 1.5;
  --tracking-body: 0.48px;

  --text-heading: 35px;
  --leading-heading: 1;
  --tracking-heading: 1.4px;

  /* Typography — Weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;

  /* Spacing Scale */
  --spacing-unit: 8px;
  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-10: 10px;
  --spacing-14: 14px;
  --spacing-15: 15px;
  --spacing-20: 20px;
  --spacing-24: 24px;
  --spacing-30: 30px;
  --spacing-135: 135px;

  /* Layout */
  --section-gap: 135px;
  --card-padding: 24px;
  --element-gap: 8px;

  /* Named Radii — Strictly 0px */
  --radius-cards: 0px;
  --radius-badges: 0px;
  --radius-inputs: 0px;
  --radius-buttons: 0px;

  /* Surfaces */
  --surface-canvas: #faf9f6;
  --surface-ink-plane: #0a0a0a;
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important;
}

html {
  font-family: var(--font-suisseintl);
  background-color: var(--surface-canvas);
  color: var(--color-ink-black);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: var(--leading-body);
  font-size: var(--text-body);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--tracking-body);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Top Announcement Bar */
.ticker-bar {
  background-color: var(--surface-ink-plane);
  color: var(--color-canvas-white);
  font-size: var(--text-caption);
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.08em;
  padding: 8px var(--spacing-20);
  position: relative;
  z-index: 100;
  text-transform: uppercase;
}

.ticker-content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
}

.ticker-center {
  margin: 0 auto;
  text-align: center;
}

.ticker-link {
  color: var(--color-canvas-white);
  margin: 0 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ticker-right {
  position: absolute;
  right: 0;
}

.ticker-btn {
  color: var(--color-canvas-white);
  font-size: var(--text-caption);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Cinematic Preloader */
.cinematic-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--surface-canvas); /* White */
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: height 1.2s cubic-bezier(0.77, 0, 0.175, 1);
  overflow: hidden;
  border-bottom: 1px solid transparent;
}

.cinematic-preloader.morph-to-header {
  height: 64px;
  border-bottom: 1px solid var(--color-mist-gray);
}

.cinematic-preloader.fade-out {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.preloader-text-wrapper {
  position: relative;
}

.preloader-text {
  font-family: 'Playfair Display', serif;
  font-size: 40px; /* Large center size */
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: none;
  background: linear-gradient(
    to right,
    var(--color-ink-black) 20%,
    #a8a8a8 40%,
    #a8a8a8 60%,
    var(--color-ink-black) 80%
  );
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  transition: font-size 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.cinematic-preloader.morph-to-header .preloader-text {
  font-size: 20px; /* Shrinks to exact header logo size */
  background: var(--color-ink-black);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes shine {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* Sticky Header Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: var(--surface-canvas);
  border-bottom: 1px solid var(--color-mist-gray);
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--spacing-30);
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-24);
}

.nav-right {
  justify-content: flex-end;
}

.header-manifesto {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-ink-black);
  opacity: 0.6;
  text-transform: none;
  white-space: nowrap;
}

.nav-link {
  font-size: var(--text-subheading);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--tracking-subheading);
  color: var(--color-ink-black);
  transition: font-weight 0.15s ease;
  position: relative;
  background: transparent;
  padding: 4px 0;
}

.nav-link.active, .nav-link:hover {
  font-weight: var(--font-weight-medium);
}

.mobile-only {
  display: none;
}

.desktop-only {
  display: inline-block;
}

.wordmark-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--color-ink-black);
  text-transform: none;
  text-align: center;
  display: block;
}

.locale-selector {
  font-size: var(--text-caption);
  font-weight: var(--font-weight-regular);
  color: var(--color-ink-black);
  letter-spacing: var(--tracking-caption);
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-btn {
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s ease, font-weight 0.2s ease;
}

.lang-btn.active {
  opacity: 1;
  font-weight: var(--font-weight-bold);
}

/* ======================================================
   Full-Screen Video Hero Landing (YouTube Full Bleed)
   ====================================================== */
.video-hero-section {
  position: relative;
  width: 100vw;
  height: calc(100vh - 64px);
  min-height: 600px;
  background-color: var(--color-ink-black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform-origin: center center;
  z-index: 5; /* Sits underneath splitHero for a clean slide-over reveal */
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.hero-html5-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.05);
  pointer-events: none;
}

.mobile-video {
  display: none;
}

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

.video-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.25);
  pointer-events: auto; /* Acts as a click-shield to prevent double-tap/pause interactions */
  z-index: 2;
  animation: cinematicFadeIn 2.5s ease-in-out forwards;
}

@keyframes cinematicFadeIn {
  0% { background: rgba(8, 8, 8, 1); }
  60% { background: rgba(8, 8, 8, 1); }
  100% { background: rgba(8, 8, 8, 0.25); }
}

.video-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--color-canvas-white);
  padding: 0 var(--spacing-20);
  will-change: transform, opacity, filter;
}

.hero-main-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 5vw, 45px);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: none;
  line-height: 1;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
  transition: transform 0.05s linear, opacity 0.05s linear, filter 0.05s linear;
  will-change: transform, opacity, filter;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--color-canvas-white);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.1s linear;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-arrow {
  font-size: 16px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

.scroll-up-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-ink-black);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
  mix-blend-mode: difference;
  color: var(--color-canvas-white); /* Since mix-blend-mode difference with white gives black on white bg */
}

.scroll-up-btn.is-visible {
  opacity: 0.6;
  visibility: visible;
  transform: translateY(0);
}

.scroll-up-btn:hover {
  opacity: 1;
}

.scroll-up-btn span {
  font-size: 10px;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.scroll-up-arrow {
  font-size: 14px;
  animation: floatUp 2s infinite ease-in-out;
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ======================================================
   About Section
   ====================================================== */
.about-section {
  background-color: var(--color-canvas-white);
  padding: var(--section-gap) var(--spacing-30);
  border-top: 1px solid var(--color-mist-gray);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}

.about-photo-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  aspect-ratio: 3/4;
  background-color: var(--color-mist-gray);
  overflow: hidden;
}

.about-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-black);
  font-family: var(--font-suisseintl);
  font-size: var(--text-subheading);
  text-transform: uppercase;
  letter-spacing: var(--tracking-subheading);
  opacity: 0.5;
  text-align: center;
  padding: 20px;
}

.about-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(10%);
}

.about-content {
  padding: var(--spacing-30) 0;
}

.about-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 400;
  color: var(--color-ink-black);
  margin-bottom: var(--spacing-30);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.about-text {
  font-family: var(--font-suisseintl);
  font-size: var(--text-body);
  line-height: 1.8;
  color: var(--color-ink-black);
  opacity: 0.85;
  margin-bottom: var(--spacing-24);
  max-width: 600px;
}

.about-text:last-child {
  margin-bottom: 0;
}

.about-brands {
  margin-top: 60px;
}

.brands-title {
  font-family: var(--font-suisseintl);
  font-size: 10px;
  color: var(--color-ink-black);
  opacity: 0.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.brands-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.brands-list li {
  font-family: var(--font-suisseintl);
  font-size: 9px;
  font-weight: 300;
  color: var(--color-ink-black);
  letter-spacing: 0.08em;
  opacity: 0.6;
  text-transform: uppercase;
}

/* ======================================================
   Site Footer
   ====================================================== */

/* ======================================================
   Split Hero Frame (Filmler & Fotoğraflar)
   ====================================================== */
.hero-split-frame {
  width: 100vw;
  height: calc(100vh - 64px);
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  z-index: 10; /* Slides completely over the videoHero */
  background-color: var(--color-ink-black);
}

.hero-pane {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
}

.hero-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-pane:hover img {
  transform: scale(1.03);
}

.hero-pane-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

.hero-label {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 10;
  color: var(--color-canvas-white);
  font-size: 35px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

/* Main Content Sections */
.gallery-section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
  padding-left: var(--spacing-30);
  padding-right: var(--spacing-30);
  border-bottom: 1px solid var(--color-mist-gray);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--spacing-30);
  padding-bottom: var(--spacing-15);
  border-bottom: 1px solid var(--color-mist-gray);
}

.section-title {
  font-size: var(--text-heading);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-heading);
  text-transform: uppercase;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
}

.filter-bar {
  display: flex;
  gap: var(--spacing-20);
}

.filter-btn {
  font-size: var(--text-subheading);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--tracking-subheading);
  color: var(--color-ink-black);
  padding: var(--spacing-4) var(--spacing-8);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.filter-btn.active, .filter-btn:hover {
  font-weight: var(--font-weight-medium);
  border-color: var(--color-ink-black);
}

/* Product & Project Grid Cards */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px; /* Increased negative space for gallery feel */
  padding: 20px 0;
}

.project-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.project-media-wrapper {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #f4f4f4;
  position: relative;
  margin-bottom: var(--spacing-14);
}

.project-media-wrapper img, .project-media-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s ease;
}

.project-card:hover .project-media-wrapper img,
.project-card:hover .project-media-wrapper video {
  transform: scale(1.035);
  filter: brightness(1.05); /* Slight spotlight effect on hover */
}

.project-badge {
  position: absolute;
  top: var(--spacing-14);
  right: var(--spacing-14);
  background-color: var(--surface-ink-plane);
  color: var(--color-canvas-white);
  font-size: var(--text-caption);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--tracking-caption);
  padding: 2px 8px;
  text-transform: uppercase;
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}

.project-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 400; /* Lighter, more elegant */
  line-height: var(--leading-subheading);
  letter-spacing: 0.1em;
  color: var(--color-ink-black);
}

.project-subtitle {
  font-size: var(--text-caption);
  font-weight: var(--font-weight-regular);
  color: #666;
  letter-spacing: var(--tracking-caption);
}

.project-year {
  font-size: var(--text-caption);
  color: var(--color-ink-black);
  margin-top: 2px;
  font-weight: var(--font-weight-medium);
}

/* Editorial Statement & Manifesto Block */
.manifesto-section {
  background-color: var(--surface-canvas);
  padding: var(--section-gap) var(--spacing-30);
  border-bottom: 1px solid var(--color-mist-gray);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.manifesto-label {
  font-size: var(--text-caption);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-ink-black);
}

.manifesto-body {
  max-width: 800px;
}

.manifesto-headline {
  font-size: 28px;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: var(--spacing-24);
  text-transform: uppercase;
}

.manifesto-text {
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-ink-black);
  margin-bottom: var(--spacing-20);
}

/* Ghost Button — Outlined */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-ink-black);
  padding: var(--spacing-15) var(--spacing-24);
  font-size: var(--text-caption);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-ink-black);
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  width: auto;
}

.btn-ghost:hover {
  background-color: var(--color-ink-black);
  color: var(--color-canvas-white);
}

/* Newsletter Modal / Slide-In */
.newsletter-slidein {
  position: fixed;
  bottom: var(--spacing-24);
  right: var(--spacing-24);
  width: 360px;
  background-color: var(--surface-canvas);
  padding: var(--spacing-24);
  z-index: 1000;
  border: 1px solid var(--color-mist-gray);
  box-shadow: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.newsletter-slidein.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.newsletter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-10);
}

.newsletter-title {
  font-size: var(--text-subheading);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-subheading);
  text-transform: uppercase;
}

.close-btn {
  font-size: 18px;
  line-height: 1;
  color: var(--color-ink-black);
}

.newsletter-body {
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
  margin-bottom: var(--spacing-15);
  color: var(--color-ink-black);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-10);
}

.input-field {
  width: 100%;
  padding: var(--spacing-10) 0;
  border: none;
  border-bottom: 1px solid var(--color-mist-gray);
  font-family: inherit;
  font-size: var(--text-caption);
  color: var(--color-ink-black);
  background: transparent;
  outline: none;
}

.input-field:focus {
  border-bottom-color: var(--color-ink-black);
}

/* Slide-Over Drawers */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(8, 8, 8, 0.5);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.slide-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 650px;
  max-width: 90vw;
  background-color: var(--surface-canvas);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: var(--spacing-30);
  border-left: 1px solid var(--color-mist-gray);
}

.slide-drawer.active {
  transform: translateX(0);
}

.drawer-close {
  align-self: flex-end;
  font-size: 24px;
  margin-bottom: var(--spacing-20);
  cursor: pointer;
}

.drawer-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-24);
}

/* Footer — Inverted Surface Level 1 */
.site-footer {
  background-color: var(--surface-ink-plane);
  color: var(--color-canvas-white);
  padding: var(--spacing-135) var(--spacing-30) var(--spacing-30) var(--spacing-30);
  display: grid;
  grid-template-columns: 2fr repeat(2, 1fr);
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-15);
}

.footer-logo {
  font-size: var(--text-body);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-body);
  text-transform: uppercase;
}

.footer-tagline {
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
  color: #aaa;
  max-width: 280px;
}

.footer-col-title {
  font-size: var(--text-caption);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--spacing-20);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-15);
}

.footer-link {
  font-size: var(--text-subheading);
  font-weight: var(--font-weight-regular);
  color: var(--color-canvas-white);
  transition: opacity 0.2s ease;
}

.footer-link:hover {
  opacity: 0.7;
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: var(--spacing-135);
  padding-top: var(--spacing-24);
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  font-size: var(--text-caption);
  color: #888;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-label {
    font-size: 24px;
    bottom: 30px;
    left: 30px;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .manifesto-section {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-30);
  }
  .about-photo-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .header-manifesto {
    display: none;
  }
  .mobile-only {
    display: inline-block;
  }
  .desktop-only {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --text-heading: 26px;
    --text-body: 13px;
    --text-subheading: 10px;
    --text-caption: 9px;
  }
  .site-header {
    padding: 0 var(--spacing-15);
  }
  .nav-link {
    font-size: 9px;
  }
  .locale-selector {
    font-size: 9px;
  }
  .wordmark-logo {
    font-size: 16px;
  }
  .hero-label {
    font-size: 16px;
    bottom: 20px;
    left: 15px;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .project-title {
    font-size: 11px;
    letter-spacing: 0.05em;
  }
  .project-badge {
    font-size: 8px;
    padding: 2px 4px;
  }
  .section-title {
    opacity: 0;
    transform: translateX(-40px);
  }
  .section-title.is-visible {
    opacity: 1;
    transform: translateX(0);
  }
  .gallery-section {
    padding-left: var(--spacing-15);
    padding-right: var(--spacing-15);
  }
  .filter-bar {
    flex-wrap: wrap;
    justify-content: center;
  }
  .filter-btn {
    font-size: 11px;
  }
  .site-footer {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .footer-links {
    align-items: center;
  }
  .scroll-up-btn {
    bottom: 20px;
    right: 20px;
  }
}

/* Project Drawer Slider Styles */
.drawer-slider-wrapper {
  aspect-ratio: 3/4;
  width: 100%;
  overflow: hidden;
  background-color: var(--surface-ink-plane);
  position: relative;
  margin-bottom: var(--spacing-20);
  touch-action: pan-y;
}

.drawer-slider-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: grab;
}

.drawer-slider-track:active {
  cursor: grabbing;
}

.drawer-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  cursor: zoom-in;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-slide img,
.drawer-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}

.slider-drag-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  z-index: 5;
  cursor: grab;
  transition: opacity 0.3s ease;
  opacity: 0.5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-drag-zone:active {
  cursor: grabbing;
}

.slider-drag-zone.left {
  left: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
}

.slider-drag-zone.right {
  right: 0;
  background: linear-gradient(to left, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
}

.slider-drag-zone:hover {
  opacity: 0.9;
}

.slider-drag-zone::after {
  content: '';
  width: 2px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  transition: background-color 0.3s ease, height 0.3s ease;
}

.slider-drag-zone:hover::after {
  background-color: rgba(255, 255, 255, 0.8);
  height: 40px;
}

.slider-progress-container {
  position: absolute;
  bottom: var(--spacing-15);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 10;
  width: 80%;
  max-width: 400px;
}

.progress-segment {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  transition: background 0.3s ease;
  cursor: pointer;
}

.progress-segment.active {
  background: rgba(255, 255, 255, 1);
}

/* Fullscreen Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-media {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .slide-drawer {
    width: 100vw;
    max-width: 100vw;
    border-left: none;
    padding: var(--spacing-20);
  }

  .preloader-text {
    font-size: 26px;
  }

  .about-brands {
    margin-top: 30px;
  }

  .brands-title {
    font-size: 9px;
    margin-bottom: 12px;
  }

  .brands-list {
    gap: 8px 12px;
  }

  .brands-list li {
    font-size: 8px;
    padding-left: 10px;
  }
}
