@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ─── RESET & ROOT ─────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #ff0055;
  --primary-dark: #cc0044;
  --ink: #0e0e0e;
  --ink-soft: rgba(14, 14, 14, 0.38);
  --ink-mid: rgba(14, 14, 14, 0.6);
  --rule: rgba(14, 14, 14, 0.08);
  --rule-strong: rgba(14, 14, 14, 0.14);
  --bg: #ffffff;
  --muted: #f6f6f6;
  --muted-fg: rgba(14, 14, 14, 0.5);
  --surface-dark: #0e0e0e;
  --radius: 4px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', system-ui, sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
}

/* ─── GLOBAL THEME TRANSITION (both directions: light↔dark) ────────────────── */
*, *::before, *::after {
  transition:
    background-color 0.35s ease,
    border-color     0.35s ease,
    color            0.35s ease,
    fill             0.35s ease,
    stroke           0.35s ease,
    opacity          0.35s ease,
    box-shadow       0.35s ease;
}
/* Preserve scroll-animation & motion behaviour — override the above */
.anim-section, .reveal,
.carousel-track, .cat-scroll-track, .marquee-track,
.slider-current img, .slider-peek-prev img, .slider-peek-next img,
.masonry-item img, .cat-scroll-item img, .brand-item img,
.img-zoom img, .cat-img-item img {
  transition:
    opacity  0.7s var(--ease),
    transform 0.7s var(--ease) !important;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--serif);
  font-weight: 400;
}

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

img {
  display: block;
  max-width: 100%;
}

/* ─── LAYOUT HELPERS ───────────────────────────────────────────────────────── */
.section-padding {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media(min-width:768px) {
  .section-padding {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media(min-width:1024px) {
  .section-padding {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

.max-7xl {
  max-width: 80rem;
  margin: 0 auto;
}

.max-5xl {
  max-width: 64rem;
  margin: 0 auto;
}

.max-4xl {
  max-width: 56rem;
  margin: 0 auto;
}

.max-3xl {
  max-width: 48rem;
  margin: 0 auto;
}

.surface-dark {
  background: var(--surface-dark);
  color: #f5f5f5;
}

/* ─── SCROLL ANIMATIONS ────────────────────────────────────────────────────── */
.anim-section {
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.anim-section.from-up {
  transform: translateY(50px);
}

.anim-section.from-left {
  transform: translateX(-50px);
}

.anim-section.from-right {
  transform: translateX(50px);
}

.anim-section.from-scale {
  transform: scale(0.93);
}

.anim-section.visible {
  opacity: 1;
  transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Delay helpers */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* ─── HEADER ───────────────────────────────────────────────────────────────── */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
  height: 4rem;
  overflow: visible; /* ← add this */
}

@media(min-width:768px) {
  header.site-header {
    height: 5rem;
  }
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  max-width: 100px;
}

.logo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.logo .logo-accent {
  color: var(--primary);
}

nav.desktop-nav {
  display: none;
  gap: 2rem;
  align-items: center;
}

@media(min-width:1024px) {
  nav.desktop-nav {
    display: flex;
  }
}

nav.desktop-nav a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s;
  color: var(--ink-soft);
  position: relative;
}

nav.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

nav.desktop-nav a:hover,
nav.desktop-nav a.active {
  color: var(--ink);
}

nav.desktop-nav a:hover::after,
nav.desktop-nav a.active::after {
  transform: scaleX(1);
}

.menu-btn {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--ink);
}

@media(min-width:1024px) {
  .menu-btn {
    display: none;
  }
}
.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 98;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 2.5rem 3rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1),
              transform 0.4s cubic-bezier(.4,0,.2,1),
              visibility 0s linear 0.4s;
}

.mobile-menu.open {
  pointer-events: all;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1),
              transform 0.4s cubic-bezier(.4,0,.2,1),
              visibility 0s linear 0s;
}

/* Close button inside the menu */
.mobile-menu-close {
  position: absolute;
  top: 1.1rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.mobile-menu-close:hover {
  color: #fff;
}

.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 9vw, 4rem);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
  padding: 0.25rem 0;
  display: block;
  width: 100%;
  transition: color 0.25s, transform 0.25s;
  transform: translateX(0);
}

.mobile-menu a:hover {
  color: #fff;
  transform: translateX(10px);
}

.mobile-menu a.active {
  color: var(--primary);
}
.page-content {
  padding-top: 4rem;
}

@media(min-width:768px) {
  .page-content {
    padding-top: 5rem;
  }
}

img.flag {
    max-width: 15px;
    border-radius: 50%;
    border: 1px dotted var(--primary);
}

/* ─── FOOTER ───────────────────────────────────────────────────────────────── */
footer {
  overflow: hidden;
}

footer.site-footer {
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media(min-width:768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a,
.footer-col ul li span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: color 0.25s;
}

.footer-col ul li a:hover,
.footer-col ul li span:hover {
  color: var(--primary);
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin-top: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem !important;
}

@media(min-width:768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: color 0.25s;
}

.footer-links span:hover {
  color: var(--primary);
}

/* ─── BUTTONS ──────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  padding: 0.85rem 2.25rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  border-radius: var(--radius);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 0.85rem 1.75rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-pink {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--primary);
  color: #fff;
  padding: 1rem 2.5rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
  transition: background 0.25s, transform 0.25s;
  border: none;
  cursor: pointer;
}

.btn-pink:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ─── UTILITY ──────────────────────────────────────────────────────────────── */
.img-zoom {
  overflow: hidden;
}

.img-zoom img {
  transition: transform 0.7s var(--ease);
}

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

.text-primary {
  color: var(--primary);
}

.text-muted {
  color: var(--muted-fg);
}

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

.uppercase {
  text-transform: uppercase;
}

.font-sans {
  font-family: var(--sans);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color 0.25s, border-color 0.25s;
}

.arrow-link:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.border-t-primary {
  border-top: 2px solid var(--primary);
  padding-top: 3rem;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ─── ═══════════════════════════════════════════════════════════════════════ */
/* ─── INDEX PAGE ──────────────────────────────────────────────────────────── */
/* ─── ═══════════════════════════════════════════════════════════════════════ */
/* Hero */
.hero-nme {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

/* container */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-shapes .shape {
  position: absolute;
  width: 0;
  height: 0;
}

.shape-top {
  top: -1%;
  border-right: 250px solid transparent;
  border-top: 47px solid #ff2d7a;
  left: 40%;
}

.shape-first-top {
  top: -1%;
  border-left: 42px solid transparent;
  border-top: 82px solid #ff2d7a;
  left: 75%;
}

.shape-top-left {
  top: -1%;
  border-right: 100px solid transparent;
  border-top: 30px solid #ff2d7a;
  left: 0%;
}

.shape-left {
  bottom: 0;
  left: 0;
  border-right: 250px solid transparent;
  border-bottom: 100px solid #ff2d7a;
}

.shape-right {
  top: 13%;
  right: 0%;
  border-left: 145px solid transparent;
  border-top: 196px solid #ff2d7a;
}

.shape-bottom {
  bottom: 0;
  right: 0;
  border-left: 200px solid transparent;
  border-bottom: 120px solid #ff2d7a;
}

.hero-center .shape-left {
  position: absolute;
  bottom: 0;
  left: 0;
  border-right: 150px solid transparent;
  border-bottom: 400px solid #ff2d7a;
}

.hero-center .shape-bottom {
  position: absolute;
  bottom: 0;
  right: 0;
  border-left: 450px solid transparent;
  border-bottom: 150px solid #ff2d7a;
}

.hero-center .shape-small {
  position: absolute;
  bottom: 0;
  right: 120px;
  border-left: 20px solid transparent;
  border-bottom: 40px solid #fff;
}

.shape {
  filter: drop-shadow(0 0 20px rgba(255, 45, 122, 0.3));
}

.shape-small {
  bottom: 0;
  right: 120px;
  border-left: 20px solid transparent;
  border-bottom: 40px solid #fff;
}

.hero-carousel {
  width: 100%;
  height: 150px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.carousel-group {
  display: flex;
}

/* Track: 2 identical sets → translate -50% = one set → seamless loop */
.carousel-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.carousel-track img {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  object-fit: cover;
}

.hero-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
  z-index: 10;
  position: relative;
}

.hero-center h1 {
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 900;
  font-family: var(--sans);
  line-height: 0.85;
  margin-bottom: 1rem;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.hero-center h1 strong{
  color: var(--primary);
}

.hero-center .center-hero-picture{
  max-width: 900px;
  width: 75vw;
  margin-bottom: .5rem;
}

.hero-center h2 {
  font-size: clamp(1rem, 2.5vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  font-family: var(--sans);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-nme {
    background: var(--primary);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    border: none;
    font-family: var(--sans);
}

.btn-nme:hover {
  transform: scale(1.05);
  background: var(--primary-dark);
}

.btn-circle {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  background: transparent;
  color: #fff;
}

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

/* Path Section */
.sub-title {
  font-size: 1rem;
  font-weight: 700;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.sub-title.portfolio{
  margin-bottom: .5rem;
}

.path-section {
  padding: 3rem 1.5rem;
  background: #fff;
  padding-bottom: 3rem;
}

.path-container {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.path-section.intro {
  padding-top: 4rem;
  padding-bottom: 1rem;
}

.path-container.intro {
  display: block;
  gap: 0;
  align-items: center;
  max-width: 900px;
  text-align: center;
}

.path-container.intro h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
}

.path-container.intro .highlight,
.path-container.intro h2 strong,
.path-container.intro h2 b{
  color: var(--primary);
}

.path-container.main {
  margin-top: 1rem;
}

@media(max-width:1024px) {
  .path-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.path-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.path-left h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
}

.path-left h2 .highlight,
.path-left h2 p strong{
  color: var(--primary);
}

.path-left-image {
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.path-left-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
  border: dotted 1px var(--primary);
}

.path-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.path-right-image {
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.path-right-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
  border: dotted 1px var(--primary);
}

.path-right h3 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.path-right p {
  color: var(--ink-mid);
  line-height: 1.7;
  font-size: 0.95rem;
}

.path-right a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-top: 1rem;
  width: max-content;
  transition: color 0.25s, border-color 0.25s;
}

.path-right a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* Category Boxes */
.category-section {
  padding: 5rem 1.5rem;
  background: #000;
  color: #fff;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 304 304' width='304' height='304'%3E%3Cpath fill='%239C92AC' fill-opacity='0.25' d='M44.1 224a5 5 0 1 1 0 2H0v-2h44.1zm160 48a5 5 0 1 1 0 2H82v-2h122.1zm57.8-46a5 5 0 1 1 0-2H304v2h-42.1zm0 16a5 5 0 1 1 0-2H304v2h-42.1zm6.2-114a5 5 0 1 1 0 2h-86.2a5 5 0 1 1 0-2h86.2zm-256-48a5 5 0 1 1 0 2H0v-2h12.1zm185.8 34a5 5 0 1 1 0-2h86.2a5 5 0 1 1 0 2h-86.2zM258 12.1a5 5 0 1 1-2 0V0h2v12.1zm-64 208a5 5 0 1 1-2 0v-54.2a5 5 0 1 1 2 0v54.2zm48-198.2V80h62v2h-64V21.9a5 5 0 1 1 2 0zm16 16V64h46v2h-48V37.9a5 5 0 1 1 2 0zm-128 96V208h16v12.1a5 5 0 1 1-2 0V210h-16v-76.1a5 5 0 1 1 2 0zm-5.9-21.9a5 5 0 1 1 0 2H114v48H85.9a5 5 0 1 1 0-2H112v-48h12.1zm-6.2 130a5 5 0 1 1 0-2H176v-74.1a5 5 0 1 1 2 0V242h-60.1zm-16-64a5 5 0 1 1 0-2H114v48h10.1a5 5 0 1 1 0 2H112v-48h-10.1zM66 284.1a5 5 0 1 1-2 0V274H50v30h-2v-32h18v12.1zM236.1 176a5 5 0 1 1 0 2H226v94h48v32h-2v-30h-48v-98h12.1zm25.8-30a5 5 0 1 1 0-2H274v44.1a5 5 0 1 1-2 0V146h-10.1zm-64 96a5 5 0 1 1 0-2H208v-80h16v-14h-42.1a5 5 0 1 1 0-2H226v18h-16v80h-12.1zm86.2-210a5 5 0 1 1 0 2H272V0h2v32h10.1zM98 101.9V146H53.9a5 5 0 1 1 0-2H96v-42.1a5 5 0 1 1 2 0zM53.9 34a5 5 0 1 1 0-2H80V0h2v34H53.9zm60.1 3.9V66H82v64H69.9a5 5 0 1 1 0-2H80V64h32V37.9a5 5 0 1 1 2 0zM101.9 82a5 5 0 1 1 0-2H128V37.9a5 5 0 1 1 2 0V82h-28.1zm16-64a5 5 0 1 1 0-2H146v44.1a5 5 0 1 1-2 0V18h-26.1zm102.2 270a5 5 0 1 1 0 2H98v14h-2v-16h124.1zM242 149.9V160h16v34h-16v62h48v48h-2v-46h-48v-66h16v-30h-16v-12.1a5 5 0 1 1 2 0zM53.9 18a5 5 0 1 1 0-2H64V2H48V0h18v18H53.9zm112 32a5 5 0 1 1 0-2H192V0h50v2h-48v48h-28.1zm-48-48a5 5 0 0 1-9.8-2h2.07a3 3 0 1 0 5.66 0H178v34h-18V21.9a5 5 0 1 1 2 0V32h14V2h-58.1zm0 96a5 5 0 1 1 0-2H137l32-32h39V21.9a5 5 0 1 1 2 0V66h-40.17l-32 32H117.9zm28.1 90.1a5 5 0 1 1-2 0v-76.51L175.59 80H224V21.9a5 5 0 1 1 2 0V82h-49.59L146 112.41v75.69zm16 32a5 5 0 1 1-2 0v-99.51L184.59 96H300.1a5 5 0 0 1 3.9-3.9v2.07a3 3 0 0 0 0 5.66v2.07a5 5 0 0 1-3.9-3.9H185.41L162 121.41v98.69zm-144-64a5 5 0 1 1-2 0v-3.51l48-48V48h32V0h2v50H66v55.41l-48 48v2.69zM50 53.9v43.51l-48 48V208h26.1a5 5 0 1 1 0 2H0v-65.41l48-48V53.9a5 5 0 1 1 2 0zm-16 16V89.41l-34 34v-2.82l32-32V69.9a5 5 0 1 1 2 0zM12.1 32a5 5 0 1 1 0 2H9.41L0 43.41V40.6L8.59 32h3.51zm265.8 18a5 5 0 1 1 0-2h18.69l7.41-7.41v2.82L297.41 50H277.9zm-16 160a5 5 0 1 1 0-2H288v-71.41l16-16v2.82l-14 14V210h-28.1zm-208 32a5 5 0 1 1 0-2H64v-22.59L40.59 194H21.9a5 5 0 1 1 0-2H41.41L66 216.59V242H53.9zm150.2 14a5 5 0 1 1 0 2H96v-56.6L56.6 162H37.9a5 5 0 1 1 0-2h19.5L98 200.6V256h106.1zm-150.2 2a5 5 0 1 1 0-2H80v-46.59L48.59 178H21.9a5 5 0 1 1 0-2H49.41L82 208.59V258H53.9zM34 39.8v1.61L9.41 66H0v-2h8.59L32 40.59V0h2v39.8zM2 300.1a5 5 0 0 1 3.9 3.9H3.83A3 3 0 0 0 0 302.17V256h18v48h-2v-46H2v42.1zM34 241v63h-2v-62H0v-2h34v1zM17 18H0v-2h16V0h2v18h-1zm273-2h14v2h-16V0h2v16zm-32 273v15h-2v-14h-14v14h-2v-16h18v1zM0 92.1A5.02 5.02 0 0 1 6 97a5 5 0 0 1-6 4.9v-2.07a3 3 0 1 0 0-5.66V92.1zM80 272h2v32h-2v-32zm37.9 32h-2.07a3 3 0 0 0-5.66 0h-2.07a5 5 0 0 1 9.8 0zM5.9 0A5.02 5.02 0 0 1 0 5.9V3.83A3 3 0 0 0 3.83 0H5.9zm294.2 0h2.07A3 3 0 0 0 304 3.83V5.9a5 5 0 0 1-3.9-5.9zm3.9 300.1v2.07a3 3 0 0 0-1.83 1.83h-2.07a5 5 0 0 1 3.9-3.9zM97 100a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-48 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 96a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-144a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-96 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm96 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-32 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM49 36a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-32 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM33 68a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 240a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm80-176a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm112 176a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 180a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 84a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'%3E%3C/path%3E%3C/svg%3E");
  background-color: black
}

.category-boxes {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.cat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}

.cat-box:hover {
  transform: translateY(-8px);
}
img.cat-icon {
    max-width: 50px;
}

.box-icon {
  width: 100px;
  height: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s var(--ease);
  border-radius: 50%;
}

.box-icon svg {
  width: 60px;
  height: 60px;
}

.cat-box:hover .box-icon {
  border-color: var(--primary);
  background: rgba(255, 0, 85, 0.1);
}

.box-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
}

/* Category Info Panel */
.category-info-panel {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0 3rem;
  overflow: hidden;
  /* smooth open/close */
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.45s var(--ease), opacity 0.35s var(--ease), padding 0.45s var(--ease), margin-top 0.45s var(--ease);
}

.category-info-panel.active {
  max-height: 800px;
  opacity: 1;
  padding: 3rem;
  margin-top: 4rem;
  pointer-events: auto;
}

.info-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.info-desc {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.info-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media(max-width:768px) {
  .info-features {
    grid-template-columns: 1fr;
  }
}

.feature {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

/* Category Carousel — vertical cards, infinite auto-scroll */

.category-carousel-wrapper {
  background: #fff;
  padding: 5rem 0;
  overflow: hidden;
}

.category-carousel-wrapper .sub-title{
  margin-bottom: 2.5rem;
}

.cat-scroll-track {
  display: flex;
  gap: 1.25rem;
  will-change: transform;
  animation: catScroll 22s linear infinite;
  width: max-content;
}

.category-carousel-wrapper:hover .cat-scroll-track {
  animation-play-state: paused;
}

@keyframes catScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.cat-scroll-item {
  width: 220px;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

@media(max-width:768px) {
  .cat-scroll-item {
    width: 160px;
    height: 240px;
  }
}

.cat-scroll-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.cat-scroll-item:hover img {
  transform: scale(1.05);
}

.cat-scroll-item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 1.5rem 1rem 1rem;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ── CAROUSEL ITEM UPGRADES ── */
a.cat-scroll-item {
  text-decoration: none;
  color: #fff;
}

/* Colored overlays per card */
.cat-scroll-item:nth-child(6n+1) .cat-scroll-overlay { background: linear-gradient(to top, rgba(255,0,85,0.75), transparent); }
.cat-scroll-item:nth-child(6n+2) .cat-scroll-overlay { background: linear-gradient(to top, rgba(83,74,183,0.75), transparent); }
.cat-scroll-item:nth-child(6n+3) .cat-scroll-overlay { background: linear-gradient(to top, rgba(29,158,117,0.75), transparent); }
.cat-scroll-item:nth-child(6n+4) .cat-scroll-overlay { background: linear-gradient(to top, rgba(216,90,48,0.75), transparent); }
.cat-scroll-item:nth-child(6n+5) .cat-scroll-overlay { background: linear-gradient(to top, rgba(99,153,34,0.75), transparent); }
.cat-scroll-item:nth-child(6n+6) .cat-scroll-overlay { background: linear-gradient(to top, rgba(186,117,23,0.75), transparent); }

.cat-scroll-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: 12px;
}

.cat-scroll-item:hover .cat-scroll-overlay {
  opacity: 1;
}

/* Bottom info — always visible */
.cat-scroll-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 0.85rem 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  border-radius: 0 0 12px 12px;
  transition: transform 0.35s ease;
  z-index: 2;
}

.cat-scroll-item:hover .cat-scroll-info {
  transform: translateY(-6px);
}

.cat-scroll-sub {
  font-size: 0.52rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
}

.cat-scroll-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-scroll-date {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

.cat-scroll-desc {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    right: 0.85rem;
    font-size: 0.68rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 2;
}

.cat-scroll-desc p,
.cat-scroll-desc a,
.cat-scroll-desc strong,
.cat-scroll-desc b,
.cat-scroll-desc h5,
.cat-scroll-desc h3,
.cat-scroll-desc h4,
.cat-scroll-desc h2{
    background-color: #0000004a;
    color: #fff;
    -webkit-line-clamp: 7;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: .2rem 0.5rem 0 0.5rem;
    border-radius: 10px;
}


.cat-scroll-item:hover .cat-scroll-desc {
  opacity: 1;
  transform: translateY(0);
}

/* Portfolio Filter */
.portfolio-section {
  padding: 4rem 1.5rem;
  padding-top: 0;
  background: #fff;
}

.filter-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.filter-nav span {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  color: var(--ink-soft);
  transition: color 0.25s;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.filter-nav span.active {
  color: var(--ink);
  border-bottom-color: var(--primary);
}

.filter-nav span:hover {
  color: var(--ink);
}

.portfolio-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media(max-width:1024px) {
  .portfolio-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}

.masonry-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 8px;
  cursor: pointer;
}

.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
  display: block;
}

.masonry-item:hover img {
  transform: scale(1.1);
}

.masonry-overlay {
  position: absolute;
  inset: 0;
  top: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: start;
  padding-top: 1.5rem;
  padding-left: 1.5rem;
  padding-right: 1rem;
  transition: background 0.3s var(--ease);
}

.masonry-item:hover .masonry-overlay {
  background: rgba(0, 0, 0, 0.6);
}

.masonry-info {
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s var(--ease);
  height: 100%;
  width: 100%;
  position: relative;
}

.masonry-info::after {
  content: '+';
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 40px;
}

.masonry-item:hover .masonry-info {
  opacity: 1;
  transform: translateY(0);
}

.masonry-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.masonry-title {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Quote Block */
.quote-block {
  padding: 4rem 1.5rem;
  padding-bottom: 2rem;
  background: #fff;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 0;
}

.quote-block svg {
  width: 80px;
  height: 80px;
  color: var(--ink);
  margin-bottom: 2rem;
  opacity: 0.08;
}

.quote-block h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 2rem;
}

.quote-block p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--ink-soft);
}
.video-section {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-top: 3rem;
  background: #000;
}

/* background wrapper */
.video-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* iframe fix */
.video-bg iframe {
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  inset: 0;
}

/* overlay */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* play button */
.play-btn {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.play-btn:hover {
  transform: scale(1.1);
  background: #fff;
}

.play-btn svg {
  width: 40px;
  height: 40px;
  color: #000;
  margin-left: 4px;
}
/* Marquee — seamless infinite scroll */
.marquee-section {
  padding: 4rem 0;
  background: #fff;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

/* 4 copies of list, animate -50% = exactly 2 copies → seamless */
.marquee-track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.marquee-section:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-item {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  padding: 0 2rem;
  flex-shrink: 0;
}

.marquee-sep {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  padding: 0 0.5rem;
}

/* Stats */
.stats-section {
  padding: 8rem 1.5rem;
  background: #fff;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media(max-width:1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  text-align: left;
}

.stat-num {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  display: block;
}

.stat-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.stat-desc {
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  padding: 8rem 1.5rem;
  background: #000;
  color: #fff;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

@media(max-width:1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.contact-left h2 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 2rem;
}

.contact-left p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-input,
.form-textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 0;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  width: 100%;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-bottom-color: var(--primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-textarea {
  resize: none;
}

/* ─── ═══════════════════════════════════════════════════════════════════════ */
/* ─── WORKS PAGE ──────────────────────────────────────────────────────────── */
/* ─── ═══════════════════════════════════════════════════════════════════════ */
.works-sidebar {
  width: 3rem;
  flex-shrink: 0;
  border-right: 1px solid var(--rule);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4.5rem;
}

.sidebar-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

#grid-view {
  display: flex;
  min-height: 100vh;
}

#categories-container {
  flex: 1;
}

/* Category rows */
.category-row {
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: background 0.3s var(--ease);
  padding: 0 2.5rem;
  position: relative;
}

.category-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s var(--ease);
}

.category-row:hover {
  background: rgba(14, 14, 14, 0.023);
}

.category-row:hover::before {
  transform: scaleY(1);
}

.category-row-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 2.25rem 0;
}

.cat-index {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  flex-shrink: 0;
  width: 1.6rem;
  font-variant-numeric: tabular-nums;
}

.cat-text {
  flex: 0 0 195px;
}

.cat-label {
  font-size: 0.57rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.cat-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.cat-images {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.cat-images::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 64px;
  background: linear-gradient(to right, transparent, #fff);
  pointer-events: none;
  z-index: 1;
}

.category-row:hover .cat-images::after {
  background: linear-gradient(to right, transparent, #fafafa);
}

.cat-img-strip {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}

.cat-img-strip::-webkit-scrollbar {
  display: none;
}

.cat-img-item {
  height: 150px;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.cat-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease), filter 0.55s var(--ease);
  filter: saturate(0.88);
}

.category-row:hover .cat-img-item img {
  filter: saturate(0.65) brightness(0.96);
}

.category-row:hover .cat-img-item:hover img {
  filter: saturate(1) brightness(1);
  transform: scale(1.07);
}

.cat-count {
  flex-shrink: 0;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  align-self: flex-end;
  padding-bottom: 2px;
}

/* Row entry animation */
.anim-row {
  opacity: 0;
  transform: translateY(16px);
  animation: rowIn 0.55s var(--ease) forwards;
}

@keyframes rowIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Slider Overlay */
.slider-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  flex-direction: row;
  opacity: 0;
  transition: opacity 0.36s var(--ease);
}

.slider-overlay.open {
  display: flex;
}

.slider-overlay.visible {
  opacity: 1;
}

.slider-sidebar {
  width: 3rem;
  flex-shrink: 0;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2rem 0;
}

.slider-sidebar .s-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.slider-sidebar .s-divider {
  width: 1px;
  height: 2rem;
  background: var(--rule-strong);
}

.slider-sidebar .s-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--ink-mid);
}

.slider-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1rem 1.75rem 0;
}

.slider-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  flex-shrink: 0;
}

.slider-info {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.slider-info-label {
  font-size: 0.57rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.slider-info-title {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

#slider-next svg, #slider-prev svg{
  color: var(--ink);
  fill: var(--ink);
}

.slider-topbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.slider-counter {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

.slider-counter strong {
  color: var(--ink);
  font-weight: 400;
}

.btn-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
  color: var(--ink-soft);
  line-height: 0;
  transition: color 0.2s, transform 0.25s var(--ease);
}

.btn-close:hover {
  color: var(--ink);
  transform: rotate(90deg);
}

.btn-close svg{
  height: 30px;
  width: 30px;
  fill: var(--ink);
  color: var(--ink);
}

#lb-close svg{
    height: 30px;
  width: 30px;
  fill: var(--bg);
  color: var(--bg);
}

.slider-images {
  flex: 1;
  display: flex;
  gap: 7px;
  overflow: hidden;
  min-height: 0;
  align-items: stretch;
}

.slider-peek-prev {
  width: 0;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transition: width 0.46s var(--ease), opacity 0.46s var(--ease);
  background: rgba(0, 0, 0, 0.04);
  pointer-events: none;
}

.slider-peek-prev.visible {
  width: 13%;
  opacity: 0.4;
  pointer-events: auto;
}

.slider-peek-prev:hover {
  opacity: 0.68;
}

.slider-peek-prev img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-current {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.04);
  min-height: 200px;
  cursor: zoom-in;
}

.slider-current img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-peek-next {
  width: 13%;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.4;
  transition: width 0.46s var(--ease), opacity 0.46s var(--ease);
  background: rgba(0, 0, 0, 0.04);
}

.slider-peek-next:hover {
  opacity: 0.68;
}

.slider-peek-next.hidden {
  width: 0;
  opacity: 0;
  pointer-events: none;
}

.slider-peek-next img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slide transitions */
@keyframes sInR {
  from {
    transform: translateX(48px);
    opacity: 0;
  }

  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes sInL {
  from {
    transform: translateX(-48px);
    opacity: 0;
  }

  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes sOutR {
  from {
    transform: none;
    opacity: 1;
  }

  to {
    transform: translateX(-38px);
    opacity: 0;
  }
}

@keyframes sOutL {
  from {
    transform: none;
    opacity: 1;
  }

  to {
    transform: translateX(38px);
    opacity: 0;
  }
}

.s-enter-r {
  animation: sInR 0.36s var(--ease) both;
}

.s-enter-l {
  animation: sInL 0.36s var(--ease) both;
}

.s-exit-r {
  animation: sOutR 0.28s var(--ease) both;
}

.s-exit-l {
  animation: sOutL 0.28s var(--ease) both;
}

/* Bottom bar */
.slider-bottombar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-top: 1px solid var(--rule);
  flex-shrink: 0;
  margin-top: auto;
}

.slider-nav-btns {
  display: flex;
  gap: 0.4rem;
}

.slider-nav-btns button {
  background: none;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-soft);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  line-height: 0;
}

.slider-nav-btns button:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(0, 0, 0, 0.03);
}

.slider-hint-text {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

.btn-thumbs {
  background: none;
  border: none;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
}

.btn-thumbs:hover {
  color: var(--ink);
}

/* Thumbnails */
.thumbs-strip {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
  flex-shrink: 0;
}

.thumbs-strip.open {
  max-height: 100px;
}

.thumbs-inner {
  display: flex;
  gap: 5px;
  padding: 0.6rem 0 0.3rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.thumbs-inner::-webkit-scrollbar {
  display: none;
}

.thumb-btn {
  flex: 0 0 64px;
  height: 44px;
  padding: 0;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.55;
}

.thumb-btn:hover {
  opacity: 0.9;
}

.thumb-btn.active {
  border-color: var(--ink);
  opacity: 1;
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #080808;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.open {
  display: flex;
}

.lb-img-wrap {
  max-width: 92vw;
  max-height: 90vh;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.36s var(--ease), transform 0.36s var(--ease);
}

.lb-img-wrap.visible {
  opacity: 1;
  transform: scale(1);
}

.lb-img-wrap img {
  display: block;
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
}

.lb-ui {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}

.lightbox-overlay.open .lb-ui {
  opacity: 1;
  pointer-events: auto;
}

.lb-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.45);
  padding: 0.5rem;
  line-height: 0;
  transition: color 0.2s, transform 0.25s var(--ease);
}

.lb-close-btn:hover {
  color: #fff;
  transform: rotate(90deg);
}

.lb-prev-btn,
.lb-next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.35);
  padding: 1rem;
  line-height: 0;
  transition: color 0.2s;
}

.lb-prev-btn {
  left: 0.75rem;
}

.lb-next-btn {
  right: 0.75rem;
}

.lb-prev-btn:hover,
.lb-next-btn:hover {
  color: rgba(255, 255, 255, 0.85);
}

.lb-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

@media(max-width:768px) {
  .works-sidebar {
    display: none;
  }

  #grid-view {
    flex-direction: column;
  }

  #categories-container {
    padding-bottom: 4rem;
  }

  .category-row {
    padding: 0 1.25rem;
  }

  .category-row::before {
    display: none;
  }

  .category-row-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.2rem 0;
  }

  .cat-index {
    display: none;
  }

  .cat-text {
    flex: none;
    width: 100%;
  }

  .cat-title {
    font-size: 1.3rem;
  }

  .cat-images {
    width: 100%;
  }

  .cat-images::after {
    display: none;
  }

  .cat-count {
    display: none;
  }

  .cat-img-item {
    flex: 0 0 86px;
    height: 58px;
  }

  .slider-sidebar {
    display: none;
  }

  .slider-main {
    padding: 0.75rem 1rem 0;
  }

  .slider-hint-text {
    display: none;
  }

  .slider-peek-prev,
  .slider-peek-prev.visible {
    display: none !important;
  }

  .slider-peek-next {
    width: 17%;
  }

  .lb-prev-btn {
    left: 0.15rem;
  }

  .lb-next-btn {
    right: 0.15rem;
  }
}

@media(max-width:480px) {
  .cat-img-item {
    flex: 0 0 76px;
    height: 52px;
  }
}

/* ─── ═══════════════════════════════════════════════════════════════════════ */
/* ─── PORTFOLIO PAGE ──────────────────────────────────────────────────────── */
/* ─── ═══════════════════════════════════════════════════════════════════════ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-btn {
  font-size: 0.8rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.03em;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  color: var(--muted-fg);
  padding-bottom: 0.25rem;
  transition: color 0.2s, border-color 0.2s;
}

.filter-btn.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.filter-btn:hover {
  color: var(--ink);
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

@media(min-width:768px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media(min-width:1024px) {
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
    .video-bg{
    margin: 0 5rem;
  }
}

.brand-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.brand-item .aspect-sq {
  aspect-ratio: 1;
  overflow: hidden;
}

.brand-item .aspect-sq img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.brand-item:hover .aspect-sq img {
  transform: scale(1.1);
}

.brand-hover {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 14, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.5s var(--ease);
}

.brand-item:hover .brand-hover {
  background: rgba(14, 14, 14, 0.4);
}

.brand-hover-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.brand-item:hover .brand-hover-name {
  opacity: 1;
}

.brand-item.hidden {
  display: none;
}

@keyframes fadeScaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: none;
  }
}


#showcase-grid {
  padding-top: 6rem;
}


#showcase-grid div:nth-child(2){
  transform: translateY(-5rem);
}

#showcase-grid div:nth-child(3){
transform: translateY(-5rem);
}



/* ─── ═══════════════════════════════════════════════════════════════════════ */
/* ─── CASE STUDY PAGE ─────────────────────────────────────────────────────── */
/* ─── ═══════════════════════════════════════════════════════════════════════ */
.video-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  background: #000;
}

.video-hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay-case {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.play-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.play-button:hover {
  transform: scale(1.1);
  background: #fff;
}

.play-button svg {
  width: 30px;
  height: 30px;
  color: #000;
  margin-left: 4px;
}

.editorial-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.editorial-row-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 10rem;
}

@media(min-width:1024px) {
  .editorial-row-1 {
    grid-template-columns: 1fr 1.5fr;
  }
}

.text-block {
  max-width: 400px;
}

.text-block h2 {
  font-size: 2rem;
  font-weight: 600;
  font-family: var(--sans);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.text-block h3 {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--sans);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.text-block p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-mid);
  margin-bottom: 1.5rem;
}

.image-stack-right {
  position: relative;
  height: 700px;
}

@media(max-width:768px) {
  .image-stack-right {
    height: 500px;
  }
}

.stack-img-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  z-index: 1;
}

.stack-img-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70%;
  z-index: 2;
  transform: translateX(-15%);
}

.stack-img-1 img,
.stack-img-2 img {
  width: 100%;
  height: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.editorial-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media(min-width:1024px) {
  .editorial-row-2 {
    grid-template-columns: 1fr 1.2fr;
  }
}

.image-block-left img {
  width: 100%;
  height: auto;
  filter: grayscale(1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.text-block-right {
  padding-left: 2rem;
}

@media(max-width:1024px) {
  .text-block-right {
    padding-left: 0;
  }
}

/* ─── ═══════════════════════════════════════════════════════════════════════ */
/* ─── SEO PAGE ────────────────────────────────────────────────────────────── */
/* ─── ═══════════════════════════════════════════════════════════════════════ */

.seo-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  z-index: 1;
}

.hero-overlay-seo {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  text-transform: uppercase;
  font-weight: 900;
  font-family: var(--sans);
  margin-bottom: 2rem;
  max-width: 1000px;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid #fff;
  padding-bottom: 4px;
  transition: all 0.3s var(--ease);
}

.hero-link:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.logo-bar {
  background: #000;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem .5rem;
}

.logo-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.logo-bar-inner h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 3rem;
  font-family: var(--sans);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.logo-bar-inner h4::before,
.logo-bar-inner h4::after {
  content: '';
  height: 1px;
  width: 100px;
  background: rgba(255, 255, 255, 0.1);
}

.logos-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

@media(max-width:768px) {
  .logos-grid {
    justify-content: center;
  }
}

.logo-item {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 1.5rem;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.logo-item img{
  max-width: 120px;
}

.logo-item:hover {
  opacity: 1;
}
.seo-hero::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 150px; /* adjust fade height */
  pointer-events: none;
  z-index: 4;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    #000 100%
  );
}

.content-section {
  padding: 6rem 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.content-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 8rem;
}

@media(min-width:1024px) {
  .content-row {
    grid-template-columns: 1fr 1fr;
  }
}

.content-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
  font-weight: 900;
  font-family: var(--sans);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.content-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-mid);
}

.content-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.content-image img {
  width: 100%;
  height: auto;
}

.partner-section {
  padding: 0rem 1.5rem 7rem;
  text-align: center;
  background: #fff;
}

.partner-section h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.partner-section h2 em {
  font-style: italic;
  color: var(--primary);
}

.partner-mission {
  max-width: 600px;
  margin: 0 auto;
}

.partner-mission h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: var(--sans);
}

.partner-mission p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-mid);
}

.partnership-block {
  display: grid;
  grid-template-columns: 1fr;
  background: #000;
  color: #fff;
}

@media(min-width:1024px) {
  .partnership-block {
    grid-template-columns: 1fr 1fr;
  }
}

.partnership-image {
  height: 600px;
  background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
}

.partnership-text {
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media(max-width:768px) {
  .partnership-text {
    padding: 4rem 1.5rem;
  }
}

.partnership-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
  font-weight: 900;
  font-family: var(--sans);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.partnership-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.final-cta {
  padding: 8rem 1.5rem;
  text-align: center;
  background: #fafafa;
}

.final-cta h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: var(--sans);
  color: var(--ink-soft);
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 900;
  font-family: var(--sans);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.final-cta p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-mid);
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* ─── ═══════════════════════════════════════════════════════════════════════ */
/* ─── CONTACT PAGE ────────────────────────────────────────────────────────── */
/* ─── ═══════════════════════════════════════════════════════════════════════ */
.contact-form-field {
  width: 100%;
  background: transparent;
  border: 1px solid var(--rule-strong);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: var(--sans);
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s;
  border-radius: 2px;
}

.contact-form-field::placeholder {
  color: var(--muted-fg);
}

.contact-form-field:focus {
  border-color: var(--primary);
}

.contact-form-area {
  resize: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contact-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media(max-width:640px) {
  .contact-grid-2 {
    grid-template-columns: 1fr;
  }
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-family: var(--sans);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
  margin-top: 6rem;
}

@media(min-width:768px) {
  .contact-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-info-title {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.contact-info-val {
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.contact-info-val.primary {
  color: var(--primary);
}

.phone-section {
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
  align-items: stretch;
  background: linear-gradient(135deg, #000000 0%, #11010b 50%, #000000 100%);
}

@media (max-width: 900px) {
  .phone-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

/* LEFT — phone mockup panel */
.ps-left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 3rem;
  overflow: hidden;
}

/* big faded number behind phone */
.ps-bg-num {
  position: absolute;
  font-family: var(--sans);
  font-size: clamp(14rem, 28vw, 22rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.05em;
}

/* glow blob */
.ps-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 85, 0.18) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* phone frame */
.ps-phone {
  position: relative;
  z-index: 2;
  width: 220px;
  border-top: 10px solid var(--ink);
  border-left: 5px solid var(--ink);
  border-right: 5px solid var(--ink);
  border-bottom: 15px solid var(--ink);
  border-radius: 36px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 40px 80px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(255, 0, 85, 0.12);
  animation: phoneFloat 4s ease-in-out infinite;
}

@keyframes phoneFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.ps-phone img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 9/18;
  margin-top: 2rem;
}

/* notch */
.ps-phone::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 14px;
  background: var(--ink);
  border-radius: 10px;
  z-index: 3;
}

/* floating pill badges */
.ps-badge {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 50px;
  padding: 0.55rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.ps-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.ps-badge span {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

.ps-badge-1 {
  top: 22%;
  left: 12%;
}

.ps-badge-2 {
  bottom: 24%;
  right: 12%;
}

@media (max-width: 900px) {
  .ps-badge-1 {
    left: 4%;
  }

  .ps-badge-2 {
    right: 4%;
  }
}

/* RIGHT — content panel */
.ps-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 5rem;
  position: relative;
  overflow: hidden;
}

@media (max-width: 1100px) {
  .ps-right {
    padding: 4rem 2.5rem;
  }
}

@media (max-width: 900px) {
  .ps-right {
    padding: 3.5rem 1.5rem;
  }
}

/* vertical rule accent */
.ps-right::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 0, 85, 0.5), transparent);
}

@media (max-width: 900px) {
  .ps-right::before {
    display: none;
  }
}

.ps-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ps-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--primary);
  flex-shrink: 0;
}

.ps-heading {
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.ps-heading em {
  font-style: normal;
  color: var(--primary);
}

.ps-body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.45);
  max-width: 420px;
  margin-bottom: 3rem;
}

/* feature rows */
.ps-features {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ps-feat {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.25s;
  cursor: default;
}

.ps-feat:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ps-feat:hover {
  background: rgba(255, 255, 255, 0.02);
}

.ps-feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 0, 85, 0.1);
  border: 1px solid rgba(255, 0, 85, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  transition: background 0.25s, border-color 0.25s;
}

.ps-feat:hover .ps-feat-icon {
  background: rgba(255, 0, 85, 0.18);
  border-color: rgba(255, 0, 85, 0.4);
}

.ps-feat-text h4 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 0.3rem;
}

.ps-feat-text p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  margin: 0;
}

/* stat row */
.ps-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ps-stat-num {
  font-family: var(--sans);
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  display: block;
  margin-bottom: 0.3rem;
}

.ps-stat-num span {
  color: var(--primary);
}

.ps-stat-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.3);
}

.fc-root {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.fc-viewport {
  overflow: hidden;
  width: 100%;
}

.fc-track {
  display: flex;
  gap: 0px;
  width: max-content;
  will-change: transform;
}

.fc-slide {
  flex-shrink: 0;
  aspect-ratio: 1/1;
}

.fc-slide img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  display: block;
  aspect-ratio: 1/1;
}

/* Dark overlay over entire carousel */
.fc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

/* Centered Follow Us button */
.fc-btn-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-decoration: none;
}

.fc-btn {
  background: var(--accent-color, #e63462);
  color: var(--colorWhite, #fff);
  padding: 0.5rem 1.6rem;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.fc-btn:hover {
  opacity: 0.85;
}

/* ── Social ── */
footer .footer-social {
  background: var(--colorLightBlack, #1a1a1a);
  text-align: center;
  padding: 1rem 0;
}

footer .footer-social ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-wrap: wrap;
}

footer .footer-social ul li a {
  color: var(--colorGrey, #999);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

footer .footer-social ul li a img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  transition: filter 0.2s;
}

footer .footer-social ul li a:hover {
  color: var(--accent-color, #e63462);
}

footer .footer-social ul li a:hover img {
  filter: none;
}

/* ── Footer Bottom ── */
footer .footer-bottom {
  background: var(--colorBlack, #0d0d0d);
  flex-wrap: wrap;
}

footer .footer-bottom .footer-logo img {
  width: 150px;
  height: auto;
  display: block;
}

footer .footer-bottom .footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

footer .footer-bottom .footer-links li a {
  color: var(--colorGrey, #999);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

footer .footer-bottom .footer-links li a:hover {
  color: var(--colorWhite, #fff);
}

footer .row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

/* Column system */
footer .col-12 {
  width: 100%;
}

@media (min-width: 992px) {
  footer .col-lg-6 {
    width: 50%;
  }
}

/* Footer logo section */
.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 992px) {
  .footer-logo {
    justify-content: flex-start;
  }
}

/* Footer links */
.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
  list-style: none;
  padding: 0;
}

@media (min-width: 992px) {
  .footer-links {
    justify-content: flex-end;
    margin-top: 0;
  }
}

.footer-links a {
  text-decoration: none;
  color: inherit;
}

@media(max-width: 768px) {
  .hero-nme {
    height: 75vh;
  }

  .shape-first-top {
    border-top: 40px solid #ff2d7a;
    left: 83%;
  }

  .shape-top {
    border-right: 155px solid transparent;
    border-top: 43px solid #ff2d7a;
  }

  .shape-right {
    border-left: 95px solid transparent;
    border-top: 120px solid #ff2d7a;
    top: 18%;
  }

  .hero-center .shape-left {
    border-right: 27px solid transparent;
    border-bottom: 398px solid #ff2d7a;
  }

  .hero-center .shape-bottom {
    border-left: 239px solid transparent;
    border-bottom: 68px solid #ff2d7a;
  }

  .hero-center .shape-small {
    border-bottom: 25px solid #fff;
  }

  .shape-left {
    border-right: 187px solid transparent;
    border-bottom: 61px solid #ff2d7a;
  }

  .path-section {
    padding-top: 3rem;
  }

  .sub-title {
    margin-bottom: 1rem;
  }

  .path-container.intro {
    text-align: start;
  }

  .path-left {
    flex-direction: column-reverse;
  }

  section {
    overflow-x: hidden;
  }

  .category-boxes {
    flex-wrap: unset;
    overflow-x: auto;
    overflow-y: hidden;
    padding: .5rem 0;
    justify-content: start;
    padding-left: 3rem;
    padding-right: 3rem;
    text-align: center;
  }

  .box-icon svg {
    height: 45px;
    width: 45px;
  }

  .category-carousel-wrapper {
    padding-top: 3rem;
  }

  #category-carousel {
    margin-top: 2rem;
  }

  .quote-block{
    padding-top: 1rem;
  }
  .masonry-title{
    font-size: 1.1rem;
  }

  .phone-section{
    padding-top: 6rem;
  }

  .ps-left{
    padding-top: 6rem;
  }

  .ps-badge-1{
    top: 7%;
  }
  
  .ps-badge-2{
    bottom: 6%;
  }
  .stats-section{
    padding: 4rem 1.5rem;
  }

  footer .row{
    gap: 15px;
  }
  
  .ps-stats{
    justify-content: center;
  }

  .seo-hero{
    height: 65vh;
    min-height: 400px;
  }

  .hero-content h1{
    font-size: clamp(1.7rem, 6vw, 5rem);
  }
  
  .logo-item{
    font-size: 1rem;
  }

  .logos-grid{
    gap: 1.5rem;
  }

  .content-section.seo-first{
    padding: 4rem 1.5rem 2rem;
  }

  .content-row.seo-first{
    gap: 0;
  }

  .content-row.seo-first{
    margin-bottom: 5rem;
  }

  .content-text h2{
    margin-bottom: 1rem;
  }

    .content-row.seo-second{
    gap: 3rem;
  }

  .page-content.seo .content-text h2{
    font-size: clamp(1.5rem, 3vw, 2.5rem);
  }

  .content-row.seo-third{
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 3rem;
  }

  .partnership-image{
    height: auto;
    aspect-ratio: 1/1;
  }

  .final-cta{
    padding: 4rem 1.5rem;
  }
  
 #slider-overlay .slider-images{
    flex: none;
    height: 500px;
    margin: auto;
    width: 100%;
  }

  .cat-img-item{
    height: 80px;
  }
}

    .lang-switcher { position: relative; }

    .lang-trigger {
      display: flex;
      align-items: center;
      gap: 6px;
      background: none;
      border: 1px solid var(--rule, rgba(14,14,14,0.12));
      border-radius: 6px;
      padding: 9px 9px;
      cursor: pointer;
      font-family: inherit;
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.04em;
      color: var(--ink, #0e0e0e);
      transition: border-color 0.2s, background 0.2s;
      white-space: nowrap;
    }
    .lang-trigger:hover { border-color: var(--ink, #0e0e0e); background: rgba(0,0,0,0.04); }

    .lang-flag  { font-size: 1.1rem; line-height: 1; }
    .lang-code  { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; }
    .lang-caret { width: 10px; height: 10px; transition: transform 0.22s ease; opacity: 0.5; flex-shrink: 0; }
    .lang-switcher.open .lang-caret { transform: rotate(180deg); }

    .lang-dropdown {
      display: none;
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      min-width: 150px;
      background: var(--white, #fff);
      border: 1px solid rgba(14,14,14,0.1);
      border-radius: 8px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.1);
      padding: 5px;
      z-index: 500;
      animation: langIn 0.18s ease both;
    }
    .lang-switcher.open .lang-dropdown { display: block; }

    @keyframes langIn {
      from { opacity: 0; transform: translateY(-6px); }
      to   { opacity: 1; transform: none; }
    }

    .lang-option {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 10px;
      border-radius: 5px;
      text-decoration: none;
      color: var(--ink, #0e0e0e);
      font-size: 0.75rem;
      font-weight: 400;
      transition: background 0.15s;
    }
    .lang-option:hover  { background: rgba(0,0,0,0.05); }
    .lang-option.active { background: rgba(0,0,0,0.06); font-weight: 600; }
    .lang-option .opt-flag  { font-size: 1.2rem; }
    .lang-option .opt-name  { flex: 1; }
    .lang-option .opt-check { width: 14px; height: 14px; opacity: 0; flex-shrink: 0; }
    .lang-option.active .opt-check { opacity: 1; }
