/* ============================================================
   SECTIONS.CSS — Page-Specific Layout Styles
   İpek Ellinci · Fashion Portfolio Gallery
   ============================================================ */


/* ─────────────────────────────────────────────────────────────
   1. HOME SECTION
   ───────────────────────────────────────────────────────────── */
.home-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px var(--section-pad-x) 80px;
  position: relative;
  overflow: hidden;
}

/* Hero Center Image */
.home-hero-image-wrapper {
  width: clamp(260px, 26vw, 400px);
  aspect-ratio: 3 / 4.6;
  z-index: 2;
  position: relative;
  display: block;
}

.image-mask {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: var(--border-subtle);
  position: relative;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(1.12);
  transition: transform 3s var(--ease-out-expo);
  will-change: transform;
}

.home-section.active .hero-image {
  transform: scale(1);
}

/* Diagonal integrated typography */
.home-title-wrapper {
  position: absolute;
  inset: 0;
  padding: 12vh var(--section-pad-x);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}

.home-title {
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 12vw, 11rem);
  font-weight: 300;
  color: var(--royal-blue);
  line-height: 0.9;
  letter-spacing: -0.04em;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: space-between;
}

.title-line {
  display: block;
  overflow: hidden;
}

.title-line span {
  display: block;
  transform: translateY(100%);
  animation: lineReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.title-line-1 {
  align-self: flex-start;
  text-align: left;
}

.title-line-2 {
  align-self: flex-end;
  text-align: right;
  animation-delay: 0.15s;
}



@keyframes lineReveal {
  to {
    transform: translateY(0);
  }
}

/* Manifesto positioned bottom-left */
.home-manifesto-wrapper {
  position: absolute;
  bottom: 8vh;
  left: var(--section-pad-x);
  max-width: clamp(200px, 20vw, 300px);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.manifesto-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.manifesto-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Elegant Editorial CTA bottom-right/center */
.home-cta-wrapper {
  position: absolute;
  bottom: 8vh;
  right: var(--section-pad-x);
  z-index: 4;
}

.editorial-cta {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--royal-blue);
  padding-bottom: 6px;
  position: relative;
  transition: color 0.3s ease;
}

.editorial-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--royal-blue);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.editorial-cta:hover {
  color: var(--warm-yellow);
}

.editorial-cta:hover::after {
  background: var(--warm-yellow);
  transform: scaleX(0);
  transform-origin: right;
}

/* Responsive updates for mobile hero */
@media (max-width: 768px) {
  .home-section {
    height: auto;
    min-height: 100vh;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 140px;
    padding-bottom: 80px;
  }

  .home-hero-image-wrapper {
    width: 65%;
    aspect-ratio: 3 / 4.2;
    margin-top: 20px;
  }

  .home-title-wrapper {
    position: relative;
    inset: auto;
    padding: 0;
    margin-top: -30px;
    order: -1;
    width: 100%;
  }

  .home-title {
    font-size: clamp(3rem, 15vw, 5.5rem);
    height: auto;
    gap: 10px;
  }

  .title-line-1,
  .title-line-2 {
    align-self: center;
    text-align: center;
  }

  .home-manifesto-wrapper {
    position: relative;
    bottom: auto;
    left: auto;
    max-width: 100%;
    margin-top: 50px;
    text-align: center;
    padding: 0 10px;
  }

  .home-cta-wrapper {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 40px;
    text-align: center;
  }
}


/* ─────────────────────────────────────────────────────────────
   2. ATELIER SECTION
   ───────────────────────────────────────────────────────────── */
.atelier-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
  transition: background-color 0.8s var(--ease-out-expo);
}

.atelier-gallery-container {
  padding: 0 var(--section-pad-x) 200px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

/* Immersive Story Mode Focus Rules */
.atelier-section.story-mode-active .section-header,
.atelier-section.story-mode-active .category-container,
.atelier-section.story-mode-active .botanical-divider,
.atelier-section.story-mode-active .atelier-item:not(.expanded) {
  display: none !important;
}

.atelier-section.story-mode-active .atelier-gallery-container {
  padding-top: 140px;
}

/* Dynamic background shift for dark theme exhibitions */
.atelier-section.story-mode-active:has(.atelier-item.dark-theme.expanded) {
  background: var(--bg-dark);
}

/* Footer thematic match in dark story mode */
body:has(.atelier-section.story-mode-active .atelier-item.dark-theme.expanded) .footer {
  background: var(--bg-dark) !important;
  color: var(--bg-primary) !important;
  border-top-color: rgba(250, 247, 242, 0.08) !important;
  transition: background-color 0.8s var(--ease-out-expo), color 0.8s var(--ease-out-expo);
}

body:has(.atelier-section.story-mode-active .atelier-item.dark-theme.expanded) .footer-credit,
body:has(.atelier-section.story-mode-active .atelier-item.dark-theme.expanded) .footer-sub {
  color: rgba(250, 247, 242, 0.6) !important;
}

body:has(.atelier-section.story-mode-active .atelier-item.dark-theme.expanded) .footer-logo,
body:has(.atelier-section.story-mode-active .atelier-item.dark-theme.expanded) .credit-author {
  color: var(--warm-yellow) !important;
}

body:has(.atelier-section.story-mode-active .atelier-item.dark-theme.expanded) .footer-link {
  color: var(--bg-primary) !important;
}

body:has(.atelier-section.story-mode-active .atelier-item.dark-theme.expanded) .footer-link:hover {
  color: var(--warm-yellow) !important;
}

/* Category Switcher Styles */
.category-container {
  padding: 0 var(--section-pad-x) 30px;
  margin-bottom: 50px;
  border-bottom: 1px solid rgba(11, 37, 201, 0.05);
}

.category-switcher {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.category-btn {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 10px 0;
  position: relative;
  cursor: pointer;
  transition: color 0.3s ease;
}

.category-btn:hover {
  color: var(--royal-blue);
}

.category-btn.active {
  color: var(--royal-blue);
}

.category-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--royal-blue);
}

@media (max-width: 768px) {
  .category-container {
    padding: 0;
    margin-bottom: 30px;
  }
  .category-switcher {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px var(--section-pad-x);
    gap: 30px;
    justify-content: flex-start;
  }
  .category-switcher::-webkit-scrollbar {
    display: none;
  }
}

/* Collapsed vs Expanded Project Styles */
.atelier-item {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  align-items: start;
  position: relative;
  transition: padding 0.8s var(--ease-out-expo),
              background-color 0.8s var(--ease-out-expo);
  width: 100%;
}

/* Compact Initial View (Collapsed) */
.atelier-item.collapsed {
  padding: 40px 0;
  border-bottom: 1px solid rgba(11, 37, 201, 0.05);
}

/* Left column: main photo wrapper */
.atelier-item.collapsed .atelier-main-photo-wrapper {
  grid-column: 2 / 7;
  margin-bottom: 0;
  cursor: pointer;
}

.atelier-item.collapsed .atelier-main-photo-mask {
  aspect-ratio: 3 / 4.2;
}

.atelier-item.collapsed .atelier-main-photo {
  transform: scale(1);
}

/* Right column: summary text info */
.atelier-item.collapsed .atelier-header-col {
  grid-column: 8 / 12;
  padding-top: 20px;
}

.atelier-item.collapsed .atelier-name {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 16px;
}

/* Hide expandable features in collapsed state */
.atelier-item.collapsed .atelier-expandable-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  grid-column: 1 / -1;
  transition: max-height 0.8s var(--ease-out-expo),
              opacity 0.6s ease,
              margin-top 0.8s var(--ease-out-expo);
}

/* Expand CTA Link */
.atelier-expand-cta-wrapper {
  margin-top: 24px;
}

.expand-btn {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--royal-blue);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--royal-blue);
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
  display: inline-block;
}

.expand-btn:hover {
  color: var(--warm-yellow);
  border-color: var(--warm-yellow);
}

.atelier-item.dark-theme .expand-btn {
  color: var(--warm-yellow);
  border-color: var(--warm-yellow);
}

.atelier-item.dark-theme .expand-btn:hover {
  color: var(--bg-primary);
  border-color: var(--bg-primary);
}

/* Expanded State Styles */
.atelier-item.expanded {
  padding: 80px 0;
  border-bottom: none;
}

.atelier-item.expanded .atelier-main-photo-wrapper {
  grid-column: 4 / 10;
  margin-bottom: 30px;
}

.atelier-item.expanded .atelier-main-photo-mask {
  aspect-ratio: 3 / 4.2;
}

.atelier-item.expanded .atelier-header-col {
  grid-column: 2 / 6;
  padding-top: 0;
}

.atelier-item.expanded .atelier-name {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.atelier-item.expanded .atelier-expandable-content {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  max-height: 2500px;
  opacity: 1;
  overflow: visible;
  margin-top: 40px;
  transition: max-height 1.2s var(--ease-out-expo),
              opacity 0.8s ease,
              margin-top 1.2s var(--ease-out-expo);
}

.atelier-item.expanded .atelier-meta-col {
  grid-column: 2 / 6;
}

.atelier-item.expanded .atelier-story-col {
  grid-column: 7 / 12;
  padding-top: 40px;
}

.atelier-item.expanded .atelier-details-wrapper {
  grid-column: 2 / 12;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
}

/* Handwritten Notes — Clip-path reveal */
.handwritten-note {
  position: absolute;
  bottom: -35px;
  right: -15px;
  background: var(--bg-secondary);
  border: 1px solid var(--warm-yellow);
  padding: 20px 28px;
  transform: rotate(-3deg);
  z-index: 10;
  max-width: 250px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s var(--ease-out-expo);
}

.handwritten-note.revealed {
  clip-path: inset(0 0% 0 0);
}

.atelier-item:nth-child(even) .handwritten-note {
  transform: rotate(3deg);
  right: auto;
  left: -15px;
}

/* Print Signature Overlays */
.print-signature-wrapper {
  position: absolute;
  bottom: -20px;
  z-index: 11;
  pointer-events: none;
  opacity: 0;
  will-change: opacity, transform;
  mix-blend-mode: multiply;
}

.atelier-item:nth-child(odd) .print-signature-wrapper {
  left: 40px;
}

.atelier-item:nth-child(even) .print-signature-wrapper {
  right: 40px;
}

.atelier-item.expanded .print-signature-wrapper {
  opacity: 1;
  transition: opacity 1.2s ease 0.4s;
}

.print-signature {
  height: clamp(35px, 4vw, 55px);
  width: auto;
  object-fit: contain;
}

/* Automatic white inversion for dark theme */
.atelier-item.dark-theme .print-signature {
  filter: invert(1) brightness(1.5);
  mix-blend-mode: normal;
}

.handwritten-note-text {
  font-family: var(--font-handwriting);
  font-size: 1.85rem;
  color: var(--royal-blue);
  line-height: 1.2;
}

.handwritten-note-text::before {
  content: '"';
}

.handwritten-note-text::after {
  content: '"';
}

.note-signature {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 12px;
  text-align: right;
}

.atelier-number {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.atelier-meta {
  border-top: var(--border-subtle);
  padding-top: 16px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(11, 37, 201, 0.04);
}

.meta-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.meta-value {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.atelier-story {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: var(--text-secondary);
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.atelier-detail-card {
  width: 85%;
}

.atelier-detail-card:nth-child(1) {
  justify-self: start;
}

.atelier-detail-card:nth-child(2) {
  justify-self: end;
  margin-top: 100px;
}

.atelier-detail-mask {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: var(--border-subtle);
  position: relative;
}

.atelier-detail-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(1.06);
  transition: transform 1.8s var(--ease-out-expo);
  will-change: transform;
}

.atelier-item.expanded .atelier-detail-img {
  transform: scale(1);
}

.atelier-detail-mask:hover .atelier-detail-img {
  transform: scale(1.04) !important;
}

/* ── Alternating Dark Theme Section Rhythm ───────────────── */
.atelier-item.dark-theme {
  transition: background-color 0.8s var(--ease-out-expo),
              padding 0.8s var(--ease-out-expo);
}

.atelier-item.dark-theme.expanded {
  background: var(--bg-dark);
  color: var(--bg-primary);
  margin-left: calc(-1 * var(--section-pad-x));
  margin-right: calc(-1 * var(--section-pad-x));
  padding: 80px var(--section-pad-x);
  z-index: 2;
  box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.2),
              inset 0 -20px 40px rgba(0, 0, 0, 0.2);
  width: calc(100% + 2 * var(--section-pad-x));
}

.atelier-item.dark-theme .atelier-name {
  color: var(--text-primary);
  transition: color 0.8s var(--ease-out-expo);
}

.atelier-item.dark-theme.expanded .atelier-name {
  color: var(--warm-yellow);
}

.atelier-item.dark-theme .atelier-story {
  color: var(--text-secondary);
}

.atelier-item.dark-theme.expanded .atelier-story {
  color: rgba(250, 247, 242, 0.75);
}

.atelier-item.dark-theme.expanded .meta-label {
  color: rgba(250, 247, 242, 0.6);
}

.atelier-item.dark-theme.expanded .meta-value {
  color: var(--bg-primary);
}

.atelier-item.dark-theme.expanded .meta-row {
  border-color: rgba(250, 247, 242, 0.08);
}

.atelier-item.dark-theme.expanded .handwritten-note {
  background: #101422;
  border-color: var(--warm-yellow);
}

.atelier-item.dark-theme.expanded .handwritten-note-text {
  color: var(--warm-yellow);
}

.atelier-item.dark-theme.expanded .note-signature {
  color: rgba(250, 247, 242, 0.5);
}

/* Empty State Styles */
.atelier-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 100px var(--section-pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}

.atelier-empty-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.6;
}

/* Collapsed/Expanded Mobile Responsive */
@media (max-width: 1024px) {
  .atelier-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .atelier-item.collapsed {
    padding: 30px 0;
  }
  
  .atelier-item.collapsed .atelier-main-photo-wrapper {
    grid-column: 1 / -1;
    max-width: 100%;
  }
  
  .atelier-item.collapsed .atelier-header-col {
    grid-column: 1 / -1;
    padding-top: 10px;
  }
  
  .atelier-item.expanded {
    padding: 60px 0;
  }

  .atelier-item.dark-theme.expanded {
    padding: 60px var(--section-pad-x);
  }
  
  .atelier-item.expanded .atelier-main-photo-wrapper {
    grid-column: 1 / -1;
    margin-bottom: 20px;
  }
  
  .atelier-item.expanded .atelier-header-col {
    grid-column: 1 / -1;
  }
  
  .atelier-item.expanded .atelier-expandable-content {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .atelier-item.expanded .atelier-meta-col {
    grid-column: 1 / -1;
  }

  .atelier-item.expanded .atelier-story-col {
    grid-column: 1 / -1;
    padding-top: 0;
  }
  
  .atelier-item.expanded .atelier-details-wrapper {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
  }
  
  .handwritten-note {
    bottom: -15px;
    right: -10px;
    max-width: 180px;
    padding: 14px 18px;
  }
}

@media (max-width: 768px) {
  .atelier-item.expanded .atelier-details-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .atelier-detail-card {
    width: 100%;
    margin-top: 0 !important;
  }
  
  .handwritten-note {
    position: relative;
    bottom: auto;
    right: auto;
    left: auto !important;
    margin-top: 16px;
    max-width: 100%;
    transform: rotate(-1deg) !important;
  }
}


/* ─────────────────────────────────────────────────────────────
   3. PHOTOGRAPHY SECTION
   ───────────────────────────────────────────────────────────── */
.photography-section {
  background: var(--bg-secondary);
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
}

.photography-scatter-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  row-gap: 120px;
  column-gap: 30px;
  padding: 0 var(--section-pad-x);
}

/* Photo Card — Polaroid style */
.photo-card {
  background: var(--bg-primary);
  padding: 16px 16px 45px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06),
              0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(220, 164, 52, 0.15);
  cursor: pointer;
  transition: transform 0.5s var(--ease-out-expo),
              box-shadow 0.5s var(--ease-out-expo);
  position: relative;
}

/* Scattered Positions */
.photo-card:nth-child(1) {
  grid-column: 1 / 6;
  transform: rotate(-1.5deg);
}

.photo-card:nth-child(2) {
  grid-column: 8 / 13;
  transform: rotate(2deg);
  margin-top: 60px;
}

.photo-card:nth-child(3) {
  grid-column: 2 / 7;
  transform: rotate(1deg);
}

.photo-card:nth-child(4) {
  grid-column: 7 / 12;
  transform: rotate(-2deg);
  margin-top: 40px;
}

.photo-card:nth-child(5) {
  grid-column: 1 / 6;
  transform: rotate(1.5deg);
}

.photo-card:nth-child(6) {
  grid-column: 7 / 13;
  transform: rotate(-1deg);
  margin-top: 50px;
}

.photo-card:nth-child(7) {
  grid-column: 3 / 8;
  transform: rotate(2.5deg);
}

.photo-card:nth-child(8) {
  grid-column: 8 / 12;
  transform: rotate(-1.5deg);
  margin-top: 30px;
}

/* Card Hover */
.photo-card:hover {
  transform: scale(1.03) rotate(0deg) translateY(-10px) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12),
              0 8px 20px rgba(0, 0, 0, 0.08);
  z-index: 10;
}



/* Card Image */
.photo-card-mask {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.photo-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.photo-card:hover .photo-card-img {
  transform: scale(1.06);
}

/* Card Caption */
.photo-card-caption {
  padding-top: 16px;
  text-align: center;
}

.photo-card-title {
  font-family: var(--font-handwriting);
  font-size: 1.4rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.photo-card-location {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Photography Responsive */
@media (max-width: 1024px) {
  .photography-scatter-grid {
    grid-template-columns: repeat(6, 1fr);
    row-gap: 60px;
    column-gap: 20px;
  }

  .photo-card:nth-child(odd) {
    grid-column: 1 / 4 !important;
    transform: rotate(-1deg) !important;
    margin-top: 0 !important;
  }

  .photo-card:nth-child(even) {
    grid-column: 4 / 7 !important;
    transform: rotate(1deg) !important;
    margin-top: 30px !important;
  }
}

@media (max-width: 768px) {
  .photography-section {
    padding-bottom: 80px;
  }

  .photography-scatter-grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
    max-width: 400px;
    margin: 0 auto;
  }

  .photo-card,
  .photo-card:nth-child(odd),
  .photo-card:nth-child(even) {
    grid-column: 1 / -1 !important;
    transform: rotate(0deg) !important;
    margin-top: 0 !important;
  }

  .photo-card:hover {
    transform: scale(1.01) rotate(0deg) translateY(-5px) !important;
  }
}


/* ─────────────────────────────────────────────────────────────
   4. DOCUMENTARIES SECTION
   ───────────────────────────────────────────────────────────── */
.documentaries-section {
  background: var(--bg-primary);
  padding-bottom: 120px;
  position: relative;
}

.documentary-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.documentary-item {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  align-items: center;
}

.documentary-video-col {
  grid-column: 1 / 8;
}

.documentary-info-col {
  grid-column: 9 / 13;
}

.documentary-item:nth-child(even) .documentary-video-col {
  grid-column: 6 / 13;
  grid-row: 1;
}

.documentary-item:nth-child(even) .documentary-info-col {
  grid-column: 1 / 5;
  grid-row: 1;
}

.documentary-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.documentary-desc {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.documentary-meta {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* Documentaries Responsive */
@media (max-width: 1024px) {
  .documentary-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .documentary-video-col,
  .documentary-item:nth-child(even) .documentary-video-col {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .documentary-info-col,
  .documentary-item:nth-child(even) .documentary-info-col {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  .documentaries-section {
    padding-bottom: 80px;
  }

  .documentary-container {
    gap: 60px;
  }
}


/* ─────────────────────────────────────────────────────────────
   5. ABOUT SECTION
   ───────────────────────────────────────────────────────────── */
.about-section {
  background: var(--bg-secondary);
  padding: 120px var(--section-pad-x);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

/* Image Column */
.about-image-column {
  grid-column: 1 / 6;
  position: relative;
}

.about-image-mask {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: var(--border-subtle);
  position: relative;
}

.about-image-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.about-image-mask:hover img {
  transform: scale(1.03);
}

/* Decorative handwritten accent on image */
.about-image-column::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(220, 164, 52, 0.2);
  z-index: -1;
}

/* Text Column */
.about-text-column {
  grid-column: 7 / 13;
}

.about-subtitle {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.about-subtitle::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warm-yellow);
}

.about-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--royal-blue);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 35px;
}

.bio-para {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.bio-para:last-of-type {
  margin-bottom: 0;
}

.about-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--royal-blue);
  padding: 30px 0;
  margin: 30px 0;
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
  line-height: 1.5;
  position: relative;
}

.about-quote::before {
  content: '—';
  margin-right: 8px;
}

/* Skills / Meta */
.about-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.skill-tag {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid rgba(11, 37, 201, 0.12);
  border-radius: 30px;
  color: var(--text-secondary);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.skill-tag:hover {
  border-color: var(--royal-blue);
  color: var(--royal-blue);
}

/* About Responsive */
@media (max-width: 1024px) {
  .about-section {
    padding: 80px var(--section-pad-x);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-image-column {
    grid-column: 1 / -1;
    max-width: 60%;
    justify-self: center;
  }

  .about-text-column {
    grid-column: 1 / -1;
    text-align: center;
  }

  .about-subtitle {
    justify-content: center;
  }

  .about-skills {
    justify-content: center;
  }

  .about-image-column::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 60px var(--section-pad-x);
  }

  .about-image-column {
    max-width: 80%;
  }

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

  .bio-para {
    font-size: 1.1rem;
  }
}


/* ─────────────────────────────────────────────────────────────
   6. CONTACT SECTION (if needed)
   ───────────────────────────────────────────────────────────── */
.contact-section {
  background: var(--bg-dark);
  padding: 120px var(--section-pad-x);
  color: var(--bg-primary);
  text-align: center;
  position: relative;
}

.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--bg-primary);
  margin-bottom: 24px;
  line-height: 1.05;
}

.contact-desc {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(250, 247, 242, 0.6);
  max-width: 500px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

.contact-email {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 300;
  color: var(--warm-yellow);
  display: inline-block;
  position: relative;
  padding-bottom: 6px;
}

.contact-email::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--warm-yellow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out-expo);
}

.contact-email:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.social-link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.5);
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--warm-yellow);
}

@media (max-width: 768px) {
  .contact-section {
    padding: 80px var(--section-pad-x);
  }

  .contact-socials {
    flex-direction: column;
    gap: 20px;
  }
}


/* ── Custom Botanical Vector Ornaments & Video Layout ──────── */
.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--section-pad-x) 40px;
  width: 100%;
}

.manifesto-flower {
  width: 60px;
  height: 60px;
  color: var(--royal-blue);
  opacity: 0.6;
  margin-bottom: -5px;
  align-self: flex-end;
  flex-shrink: 0;
}

.about-title-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
}

.about-title-wrapper .about-title {
  margin-bottom: 0 !important;
}

.about-flower {
  width: 50px;
  height: 50px;
  color: var(--royal-blue);
  opacity: 0.55;
  flex-shrink: 0;
}

.botanical-vector {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 768px) {
  .home-manifesto-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .manifesto-flower {
    align-self: center;
  }

  .about-title-wrapper {
    justify-content: center;
    width: 100%;
  }
}


/* ─────────────────────────────────────────────────────────────
   6. FUTURE ARCHIVE SECTION (gelecek.html)
   ───────────────────────────────────────────────────────────── */
.archive-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
  padding-bottom: 120px;
}

.archive-bg-typography {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(8rem, 20vw, 24rem);
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px rgba(11, 37, 201, 0.025);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  letter-spacing: 0.1em;
  user-select: none;
  will-change: transform;
}

/* Sequential Cinematic Chapters */
.archive-chapters {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  width: 100%;
}

.archive-chapter {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 26vh; /* Generous breathing space between chapters */
  width: 100%;
  padding: 0 var(--section-pad-x);
}

.archive-chapter:last-child {
  margin-bottom: 8vh;
}

/* Chapter Meta Details */
.chapter-meta {
  width: 100%;
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(11, 37, 201, 0.06);
  padding-bottom: 12px;
}

.chapter-number {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--royal-blue);
}

.chapter-title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* Chapter Visual Containers */
.chapter-visual {
  position: relative;
  overflow: hidden;
  border: var(--border-subtle);
  background: var(--bg-secondary);
  transition: transform 1s var(--ease-out-expo);
  will-change: transform;
}

.chapter-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2.5s var(--ease-out-expo);
  will-change: transform;
}

.chapter-visual:hover img {
  transform: scale(1.03);
}

.chapter-desc {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  text-align: center;
  line-height: 1.6;
  margin-top: 30px;
  letter-spacing: -0.01em;
}

/* 01. THE STUDIO (Fullscreen Vibe) */
.studio-visual {
  width: 100%;
  max-width: 1060px;
  aspect-ratio: 16 / 10;
}

/* 02. IDENTITY (Luxury Mockups) */
.identity-container {
  width: 100%;
  max-width: 780px;
  background: var(--bg-secondary);
  border: 1px dashed rgba(11, 37, 201, 0.15);
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.identity-logo {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--royal-blue);
  margin-bottom: 40px;
  text-transform: uppercase;
}

.identity-elements {
  display: flex;
  gap: 60px;
  width: 100%;
  justify-content: center;
  border-top: 1px solid rgba(11, 37, 201, 0.08);
  padding-top: 40px;
}

.identity-spec-card {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.identity-spec-val {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-top: 6px;
  text-transform: none;
}

/* 03. THE COLLECTION (Lookbook Pairs) */
.lookbook-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  width: 100%;
  max-width: 900px;
  align-items: start;
}

.lookbook-item-left {
  width: 100%;
  aspect-ratio: 3 / 4.1;
}

.lookbook-item-right {
  width: 90%;
  aspect-ratio: 3 / 4.1;
  margin-top: 100px;
  justify-self: end;
}

/* 04. RUNWAY & 05. EDITORIAL (Cinematic Giant Frames) */
.runway-visual {
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 10;
}

.editorial-visual {
  width: 100%;
  max-width: 680px;
  aspect-ratio: 3 / 4.2;
}

.magazine-cover-text {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  color: var(--bg-primary);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.9;
  z-index: 5;
  pointer-events: none;
}

.magazine-cover-date {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--warm-yellow);
  z-index: 5;
  pointer-events: none;
}

/* 06. THE ARCHIVE (Controlled Small Curated Objects) */
.archive-curated-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  width: 100%;
  max-width: 900px;
}

.archive-curated-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.archive-polaroid-frame {
  background: #ffffff;
  border: 1px solid rgba(11, 37, 201, 0.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
  padding: 12px 12px 28px;
  transform: rotate(-1.5deg);
  width: 100%;
}

.archive-polaroid-frame .chapter-visual {
  aspect-ratio: 1 / 1;
  border: none;
}

.archive-polaroid-note {
  font-family: var(--font-handwriting);
  font-size: 1.4rem;
  color: var(--royal-blue);
  text-align: center;
  margin-top: 12px;
}

.archive-swatch-frame {
  width: 100%;
}

.archive-swatch-frame .chapter-visual {
  aspect-ratio: 4 / 3;
}

.archive-swatch-info {
  width: 100%;
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(11, 37, 201, 0.05);
  padding-bottom: 6px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.archive-swatch-info span:last-child {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--text-primary);
  text-transform: none;
  letter-spacing: 0;
}

/* 07. EPILOGUE (Triple Curated Polaroid Collage) */
.epilogue-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 900px;
  margin: 40px auto 60px;
  position: relative;
}

.epilogue-polaroid {
  background: #ffffff;
  border: 1px solid rgba(11, 37, 201, 0.04);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
  transition: transform 0.6s var(--ease-out-expo), opacity 0.6s var(--ease-out-expo);
  will-change: transform, opacity;
}

.epilogue-polaroid .chapter-visual {
  aspect-ratio: 3 / 4;
  border: none;
}

/* Main Center Polaroid (Larger, Vertical Photo) */
.epilogue-polaroid.main-polaroid {
  width: 280px;
  aspect-ratio: 3 / 4.15; /* Elongated aspect ratio to host a 3:4 vertical image + bottom polaroid margin */
  padding: 16px 16px 38px;
  transform: rotate(2deg);
  z-index: 2;
}

.epilogue-polaroid.main-polaroid:hover {
  transform: scale(1.05) rotate(0deg) translateY(-5px) !important;
  z-index: 5;
}

/* Small Side Polaroids (Vertical) */
.epilogue-polaroid.small-side-polaroid {
  width: 160px;
  aspect-ratio: 3 / 4.15;
  z-index: 1;
  opacity: 0.85;
  padding: 10px 10px 22px;
}

.epilogue-polaroid.small-side-polaroid.type-left {
  transform: rotate(-6deg) translateY(15px);
}

.epilogue-polaroid.small-side-polaroid.type-right {
  transform: rotate(5deg) translateY(8px);
}

.epilogue-polaroid.small-side-polaroid:hover {
  transform: scale(1.08) rotate(0deg) translateY(-8px) !important;
  z-index: 5;
  opacity: 1;
}

.epilogue-signature {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-style: italic;
  font-weight: 300;
  color: var(--royal-blue);
  letter-spacing: -0.02em;
  text-align: center;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .epilogue-container {
    flex-direction: column;
    gap: 30px;
    margin: 20px auto;
  }
  
  .epilogue-polaroid.main-polaroid {
    width: 230px;
    padding: 12px 12px 32px;
    transform: rotate(2deg) !important;
  }
  
  .epilogue-polaroid.small-side-polaroid {
    width: 160px;
    transform: none !important;
    opacity: 1;
  }
}

/* Redefined Status Badges (Stamps) */
.archive-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 5;
  border: 1px solid var(--royal-blue);
  color: var(--royal-blue);
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 1px;
  opacity: 0.8;
  pointer-events: none;
  background: var(--bg-primary);
}

.archive-badge.red {
  border-color: #d95368;
  color: #d95368;
}

.archive-badge.yellow {
  border-color: var(--warm-yellow);
  color: var(--warm-yellow);
}

/* Responsive Cinematic Layouts */
@media (max-width: 1024px) {
  .archive-chapter {
    margin-bottom: 18vh;
  }

  .lookbook-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lookbook-item-right {
    width: 100%;
    margin-top: 0;
  }

  .archive-curated-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .identity-elements {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
}


/* Scattered Chapter Polaroid Collages */
.chapter-polaroid-collage {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  width: 100%;
  max-width: 900px;
  position: relative;
}

.polaroid-collage-item {
  background: #ffffff;
  border: 1px solid rgba(11, 37, 201, 0.04);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
  padding: 10px 10px 24px;
  width: 160px;
  aspect-ratio: 1 / 1.15;
  transition: transform 0.6s var(--ease-out-expo);
  will-change: transform;
}

.polaroid-collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: var(--border-subtle);
}

/* Collection & Runway Specific Larger Vertical Polaroid Cards */
.chapter-polaroid-collage.collection-polaroids,
.chapter-polaroid-collage.runway-polaroids {
  max-width: 1000px;
  gap: 50px;
}

.chapter-polaroid-collage.collection-polaroids .polaroid-collage-item,
.chapter-polaroid-collage.runway-polaroids .polaroid-collage-item {
  width: 220px;
  aspect-ratio: 3 / 4.15; /* Elongated aspect ratio to host a 3:4 vertical image + bottom polaroid margin */
  padding: 12px 12px 34px;
}

.chapter-polaroid-collage.collection-polaroids .polaroid-collage-item img,
.chapter-polaroid-collage.runway-polaroids .polaroid-collage-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.polaroid-collage-item:hover {
  transform: scale(1.06) translateY(-8px) !important;
  z-index: 5;
}

/* Asymmetric rotation & placement offsets */
.polaroid-collage-item:nth-child(1) {
  transform: rotate(-4deg) translateY(10px);
}

.polaroid-collage-item:nth-child(2) {
  transform: rotate(1deg) translateY(-15px);
  margin-left: -15px;
  margin-right: -15px;
}

.polaroid-collage-item:nth-child(3) {
  transform: rotate(3deg) translateY(5px);
}

@media (max-width: 768px) {
  .chapter-polaroid-collage {
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
  }
  
  .polaroid-collage-item {
    width: 150px;
    margin: 0 !important;
    transform: none !important;
  }

  .chapter-polaroid-collage.collection-polaroids,
  .chapter-polaroid-collage.runway-polaroids {
    gap: 25px;
  }
  
  .chapter-polaroid-collage.collection-polaroids .polaroid-collage-item,
  .chapter-polaroid-collage.runway-polaroids .polaroid-collage-item {
    width: 180px;
    aspect-ratio: 3 / 4.15;
    padding: 10px 10px 30px;
  }
}


/* Chapter 02 Identity Branding Carousel (Focused lookbook style) */
.chapter-branding-collage {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin-top: 60px;
}

.branding-carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 520px; /* Scaled up to make the vision mockups much larger and detailed */
}

.branding-carousel-viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  width: 100%;
  padding: 20px 40px; /* Left/right padding lets adjacent cards peek in slightly */
  gap: 20px;
  scrollbar-width: none; /* Hide default scrollbar */
  -ms-overflow-style: none;
}

.branding-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.branding-item {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 100%; /* Take full width of active slot */
  scroll-snap-align: center;
  opacity: 0.3;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
  will-change: opacity, transform;
}

/* Focused Active State */
.branding-item.active {
  opacity: 1;
  transform: scale(1);
}

.branding-mask {
  width: 100%;
  aspect-ratio: 3 / 2; /* Updated to Yatay/Landscape (3:2) as requested */
  overflow: hidden;
  border: var(--border-subtle);
  background: var(--bg-secondary);
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
}

.branding-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.8s var(--ease-out-expo);
}

.branding-item.active:hover .branding-mask img {
  transform: scale(1.03);
}

/* Under-text for specs */
.branding-meta {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.branding-meta span:last-child {
  color: var(--royal-blue);
}

/* Nav Buttons (← and →) on sides of container */
.carousel-nav-btn {
  background: var(--bg-primary);
  border: 1px solid rgba(11, 37, 201, 0.1);
  color: var(--royal-blue);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}

.carousel-nav-btn:hover {
  border-color: var(--warm-yellow);
  color: var(--warm-yellow);
}

.carousel-nav-btn.prev {
  left: -70px;
}

.carousel-nav-btn.next {
  right: -70px;
}

/* Carousel Indicators (Dots) */
.carousel-indicators {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(11, 37, 201, 0.15);
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.indicator-dot.active {
  background: var(--royal-blue);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .branding-carousel-container {
    max-width: 100%;
  }

  .branding-carousel-viewport {
    padding: 10px 20px;
    gap: 15px;
  }

  .carousel-nav-btn {
    display: none; /* Swipe on mobile, buttons hidden to save space */
  }

  .branding-item {
    flex: 0 0 85%; /* Sizing adjustment for mobile peeking */
  }

  .branding-item.type-tag::before {
    display: none;
  }
}
