/* ======================================================
   ACT IV — Luxury Creative Agency
   Multi-Page Style System
   ====================================================== */

/* ---------- FONTS ---------- */
/* Didot → Playfair Display (web fallback) */
/* Avenir → Nunito Sans (web fallback) */

@font-face {
  font-family: 'Didot';
  src: local('Didot'), local('Didot-Bold');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir';
  src: local('Avenir'), local('Avenir Next'), local('AvenirNext-Regular');
  font-weight: 400;
  font-display: swap;
}

:root {
  --wine: #722141;
  --wine-dark: #4a1529;
  --wine-light: #a83262;
  --white: #ffffff;
  --off-white: #f8f5f2;
  --cream: #ece6df;
  --black: #0a0a0a;
  --charcoal: #1a1a1a;
  --grey: #888;
  --grey-light: #bbb;

  --font-title: 'Didot', 'Playfair Display', 'Times New Roman', serif;
  --font-body: 'Avenir', 'Nunito Sans', 'Helvetica Neue', Arial, sans-serif;

  --section-pad: clamp(80px, 10vw, 160px);
  --container: min(1400px, 90vw);
  --section-heading-size: clamp(20px, 2.2vw, 34px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--charcoal);
}
::-webkit-scrollbar-thumb {
  background: var(--wine);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--wine-light);
}
html {
  scrollbar-width: thin;
  scrollbar-color: var(--wine) var(--charcoal);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--white);
  background:
    radial-gradient(ellipse at 20% 30%, rgba(168,50,98,0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(114,33,65,0.18) 0%, transparent 50%),
    linear-gradient(180deg, #1a0e14 0%, #2a1420 30%, #3c1a2c 60%, #4a1529 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  cursor: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.16;
}

a { color: inherit; text-decoration: none; cursor: none; }
button { border: none; background: none; cursor: none; font-family: inherit; }
input, textarea, select, label { cursor: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
* { cursor: none; }
::selection { background: var(--wine-light); color: var(--white); }

/* Light cursor — default now since site is dark */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s;
}

.cursor-follower {
  position: fixed; top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease), height 0.4s var(--ease), border-color 0.3s, background 0.3s, opacity 0.3s;
  opacity: 0.4;
}

/* Light cursor on dark / wine backgrounds */
.cursor.on-dark {
  background: var(--white);
}
.cursor-follower.on-dark {
  border-color: rgba(255,255,255,0.5);
}

body:hover .cursor-follower { opacity: 1; }

/* Hover expand + mix-blend */
.cursor.hovering {
  width: 0; height: 0;
  background: transparent;
}
.cursor-follower.hovering {
  width: 80px; height: 80px;
  background: var(--wine);
  opacity: 0.35;
  border-color: transparent;
  mix-blend-mode: difference;
}

/* "View" label for cards/links with data-cursor */
.cursor-label {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 10001;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
.cursor-label.visible { opacity: 1; }

@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-follower { display: none !important; }
  *, body, a, button, input, textarea, select, label { cursor: auto !important; }
}

/* ---------- PRELOADER ---------- */
#preloader {
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(168,50,98,0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(114,33,65,0.18) 0%, transparent 50%),
    linear-gradient(180deg, #1a0e14 0%, #2a1420 30%, #3c1a2c 60%, #4a1529 100%);
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
}

.preloader-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }

.preloader-logo {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-logo img {
  height: clamp(80px, 18vw, 180px);
  width: auto;
}

.preloader-logo span { font-style: italic; }

.preloader-bar {
  width: 200px; height: 2px;
  background: rgba(255,255,255,0.14);
  margin: 0 auto;
  overflow: hidden; border-radius: 2px;
}

.preloader-bar-fill {
  width: 0; height: 100%;
  background: linear-gradient(90deg, var(--wine-dark) 0%, var(--wine) 45%, var(--wine-light) 100%);
  box-shadow: 0 0 18px rgba(168,50,98,0.45);
  border-radius: 2px;
}

/* ---------- NAVBAR ---------- */
#navbar {
  position: fixed; top: 0; left: 0;
  width: 100%; z-index: 1000;
  padding: 6px 0;
  transition: all 0.5s var(--ease);
}

#navbar.scrolled {
  padding: 4px 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

/* Inner pages — same dark theme now */
.navbar--dark .nav-logo { color: var(--white); }
.navbar--dark .nav-link { color: var(--white); }
.navbar--dark .nav-menu-btn span { background: var(--white); }

.nav-inner {
  width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center;
  transition: opacity 0.3s;
}

.nav-logo img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.5s;
}

.nav-logo span { font-style: italic; }

/* Keep the logo white when the navbar is scrolled */
#navbar.scrolled .nav-logo img {
  filter: brightness(0) invert(1);
}

/* Inner pages — gold logo on scroll too */
.navbar--dark .nav-logo img {
  filter: brightness(0) invert(1);
}

.navbar--dark.scrolled .nav-logo img {
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex; gap: 40px;
  align-items: center;
}

.nav-links li { list-style: none; }

.nav-link {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  position: relative; padding: 4px 0;
  transition: color 0.5s;
}

.nav-link::after {
  content: ''; position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--wine);
  transition: width 0.4s var(--ease);
}

.nav-link:hover::after, .nav-link.active::after { width: 100%; }
#navbar.scrolled .nav-link { color: var(--white); }

/* Hamburger */
.nav-menu-btn {
  display: none;
  flex-direction: column; gap: 6px;
  padding: 6px; z-index: 1001;
}

.nav-menu-btn span {
  display: block; width: 28px; height: 2px;
  background: var(--white);
  transition: all 0.4s var(--ease);
  transform-origin: center;
}

#navbar.scrolled .nav-menu-btn span { background: var(--white); }

.nav-menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--white); }
.nav-menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--white); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(168,50,98,0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(114,33,65,0.18) 0%, transparent 50%),
    linear-gradient(180deg, #1a0e14 0%, #2a1420 30%, #3c1a2c 60%, #4a1529 100%);
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s var(--ease);
}

.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-menu-inner {
  display: flex; flex-direction: column;
  gap: 30px; text-align: center;
}

.mobile-link {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(32px, 6vw, 56px);
  color: var(--white);
  letter-spacing: 0.05em;
  opacity: 0; transform: translateY(30px);
  transition: all 0.5s var(--ease);
}

.mobile-menu.open .mobile-link { opacity: 1; transform: translateY(0); }
.mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.4s; }

/* ---------- HERO (Home only) ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
  z-index: 2;
}
}

.hero-bg {
  position: absolute; inset: 0;
  background: var(--wine);
}

.hero-galaxy {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.58;
}

.hero-model-stage {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
}

.hero-model-stage.is-ready {
  opacity: 0.92;
  transform: translateY(0) scale(1);
}

.hero-model-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.08)) drop-shadow(0 0 32px rgba(114,33,65,0.28));
}

@media (max-width: 900px), (pointer: coarse) {
  .hero-galaxy {
    opacity: 0.12;
  }

  .hero-model-stage.is-ready {
    opacity: 0.88;
  }
}

.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(168,50,98,0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(114,33,65,0.5) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 80%, rgba(74,21,41,0.4) 0%, transparent 60%);
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

/* Hero animated illustration */
.hero-illustration {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
}
.hero-illustration svg {
  position: absolute;
  width: 112%;
  height: 112%;
  left: -6%;
  top: -6%;
}
.hero-illustration .orbit {
  fill: none;
  stroke: rgba(255,255,255,0.12);
  stroke-width: 1.25;
}
.hero-illustration .node {
  fill: rgba(255,255,255,0.22);
}
.hero-illustration .line-deco {
  fill: none;
  stroke: rgba(255,255,255,0.1);
  stroke-width: 0.8;
  stroke-dasharray: 8 6;
}
.hero-illustration .float-shape {
  fill: none;
  stroke: rgba(255,255,255,0.15);
  stroke-width: 1;
}

.hero-content {
  position: relative; z-index: 4;
  text-align: center; color: var(--white);
  width: min(100%, 1120px);
  padding: clamp(72px, 10vh, 112px) 20px clamp(50px, 8vh, 84px);
}

.hero-tagline {
  display: flex; flex-direction: column;
  align-items: center; margin-bottom: 30px;
  /* Reset h1 styling */
  font-size: inherit; font-weight: inherit;
}

.hero-tagline-line {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(42px, 7.2vw, 96px);
  line-height: 1.12; letter-spacing: -0.02em;
  display: block;
  padding-inline: 0.16em;
}

.hero-tagline-line.accent {
  color: var(--cream);
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(14px, 1.8vw, 20px);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.8; font-weight: 300;
}

.hero-cta {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 50px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 16px 36px;
  transition: all 0.4s var(--ease);
}

.hero-cta:hover {
  background: var(--white);
  color: var(--wine);
  border-color: var(--white);
}

.hero-cta svg { transition: transform 0.4s var(--ease); }
.hero-cta:hover svg { transform: translateX(6px); }

.hero-scroll-indicator {
  position: absolute; bottom: 40px;
  left: 50%; transform: translateX(-50%); z-index: 4;
}

.scroll-line {
  width: 1px; height: 60px;
  background: rgba(255,255,255,0.3);
  position: relative; overflow: hidden;
}

.scroll-line::after {
  content: ''; position: absolute;
  top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--white);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 0; }
  100% { top: 100%; }
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  padding: clamp(100px, 12vw, 150px) 0 clamp(50px, 7vw, 90px);
  background: transparent;
  position: relative;
  overflow: hidden;
}

.page-hero-inner {
  width: var(--container); margin: 0 auto;
}

.page-hero-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: var(--section-heading-size);
  line-height: 1.16; letter-spacing: -0.02em;
  color: var(--white);
  margin-top: 10px;
}

.page-hero-title em {
  color: var(--wine-light);
  font-style: italic;
}

.page-hero-desc {
  max-width: 680px;
  font-size: 17px; color: rgba(255,255,255,0.7);
  line-height: 1.9; margin-top: 24px;
}

.page-hero-desc strong {
  color: var(--wine-light);
}

body[data-page="about"] .page-hero,
body[data-page="projects"] .page-hero,
body[data-page="services"] .page-hero {
  padding: clamp(84px, 10vw, 132px) 0 clamp(20px, 3vw, 36px);
}

body[data-page="services"] #services-list,
body[data-page="projects"] #projects {
  padding-top: clamp(20px, 3vw, 40px);
}

body[data-page="projects"] .project-info h2 {
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.25;
  max-width: none;
  margin-bottom: 10px;
}

/* ---------- PHILOSOPHY (Home) ---------- */
#philosophy {
  background: transparent;
  padding: 0; overflow: hidden;
}

.philosophy-inner {
  width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
}

.philosophy-pillar {
  padding: 60px 40px;
  position: relative;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background 0.5s var(--ease);
  display: block;
}

.philosophy-pillar:last-child { border-right: none; }
.philosophy-pillar:hover { background: rgba(114,33,65,0.2); }

.pillar-num {
  font-size: 12px; letter-spacing: 0.2em;
  color: var(--wine-light); display: block; margin-bottom: 16px;
}

.philosophy-pillar h2 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  color: var(--white); margin-bottom: 12px;
  line-height: 1.14;
}

.philosophy-pillar p {
  font-size: 14px; color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.pillar-line {
  width: 0; height: 2px;
  background: var(--wine);
  margin-top: 24px;
  transition: width 0.6s var(--ease);
}

.philosophy-pillar:hover .pillar-line { width: 60px; }

/* ---------- SECTION COMMON ---------- */
section { padding: var(--section-pad) 0; }

.section-header {
  width: var(--container); margin: 0 auto 80px;
}

.section-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--wine-light); display: block; margin-bottom: 16px;
}

.brand-act {
  font-style: italic;
  text-transform: lowercase !important;
}

.brand-act4 {
  display: inline-flex;
  align-items: baseline;
  gap: 0.015em;
  white-space: nowrap;
}

.brand-four {
  font-family: var(--font-body);
  font-size: 0.76em;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-0.04em);
}

.section-heading {
  font-size: var(--section-heading-size);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wine-light);
  display: block;
  margin: 0 0 20px;
}

.section-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: var(--section-heading-size);
  color: var(--white);
  letter-spacing: -0.02em; line-height: 1.14;
  margin-bottom: 24px;
}

.section-title--white { color: var(--white); }

.keep-together {
  white-space: nowrap;
}

.about-philosophy-title {
  font-size: clamp(30px, 4.2vw, 60px);
  max-width: 18ch;
}

.about-philosophy-statement {
  margin-top: clamp(28px, 4vw, 56px);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(15px, 1.8vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--white);
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
  padding: 0 16px;
  overflow-wrap: break-word;
}

@media (max-width: 900px) {
  .about-philosophy-statement {
    white-space: normal;
    font-size: clamp(15px, 4.2vw, 22px);
    line-height: 1.45;
    max-width: 32ch;
    margin-left: auto;
    margin-right: auto;
  }
}

.section-desc {
  max-width: 600px;
  font-size: 17px; color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

/* ---------- HOME SERVICES — HORIZONTAL SCROLL ---------- */
.horizontal-scroll-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
}

.horizontal-scroll-track {
  display: flex;
  gap: 24px;
  padding: 0 5vw;
  width: max-content;
  will-change: transform;
}

.home-service-card {
  background: rgba(255,255,255,0.06);
  padding: 48px 36px;
  transition: all 0.5s var(--ease);
  position: relative;
  width: 340px;
  min-width: 340px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.08);
}

.home-service-card::before {
  content: ''; position: absolute;
  bottom: 0; left: 0; width: 0; height: 3px;
  background: var(--wine-light);
  transition: width 0.5s var(--ease);
}

.home-service-card:hover::before { width: 100%; }

.home-service-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.home-service-num {
  font-family: var(--font-title);
  font-size: 32px; font-weight: 700;
  color: var(--wine-light); opacity: 0.3;
  display: block; margin-bottom: 20px;
}

.home-service-card h3 {
  font-family: var(--font-title);
  font-weight: 700; font-size: 20px;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.18;
}

.home-service-card p {
  font-size: 14px; color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.section-cta-wrap {
  width: var(--container); margin: 60px auto 0;
  text-align: center;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--white);
  background: var(--wine);
  padding: 18px 44px;
  border: 1px solid var(--wine);
  transition: all 0.4s var(--ease);
}

.btn-primary:hover {
  background: transparent;
  color: var(--wine);
}

.btn-white {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--wine);
  background: var(--white);
  padding: 18px 44px;
  border: 1px solid var(--white);
  transition: all 0.4s var(--ease);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
}

/* ---------- ABOUT PREVIEW (Home) ---------- */
#about-preview {
  background: transparent;
}

.about-preview-inner {
  width: var(--container); margin: 0 auto;
}

.about-preview-content {
  max-width: 800px;
}

.about-preview-lead {
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--white); line-height: 1.8;
  margin-bottom: 48px;
}

.about-preview-points {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 30px; margin-bottom: 48px;
}

.about-preview-point h3 {
  font-family: var(--font-title);
  font-weight: 700; font-size: 18px;
  color: var(--white); margin-bottom: 8px;
}

.about-preview-point p {
  font-size: 14px; color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ---------- HOME CTA ---------- */
#home-cta, .page-cta {
  background: transparent;
  padding: var(--section-pad) 0;
}

#home-cta {
  padding: clamp(56px, 7vw, 104px) 0;
}

body[data-page="about"] .page-cta {
  padding: clamp(44px, 6vw, 82px) 0;
}

.home-cta-inner, .page-cta-inner {
  width: var(--container); margin: 0 auto;
  text-align: center; color: var(--white);
}

.home-cta-inner h2, .page-cta-inner h2 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: var(--section-heading-size);
  line-height: 1.14; margin-bottom: 24px;
}

.home-cta-inner h2 em, .page-cta-inner h2 em {
  font-style: italic; color: var(--cream);
}

.home-cta-inner p, .page-cta-inner p {
  font-size: 18px; opacity: 0.7;
  margin-bottom: 40px;
}

/* ---------- SERVICES PAGE ---------- */
.services-section {
  padding: var(--section-pad) 0;
}

.services-section--alt {
  background: transparent;
}

.services-section-inner {
  width: var(--container); margin: 0 auto;
}

#services-list .project-shell {
  min-height: 360px;
}

#services-list .project-media {
  padding: 24px;
  justify-content: flex-start;
  gap: 14px;
}

#services-list .project-index {
  display: none;
}

#services-list .project-media-top {
  justify-content: flex-start;
}

#services-list .project-img-inner {
  margin-top: 6px;
}

#services-list .project-media-bottom {
  margin-top: auto;
}

#services-list .project-info {
  padding: 24px clamp(26px, 3vw, 38px);
  justify-content: flex-start;
  gap: 14px;
}

#services-list .project-info > * {
  margin: 0;
}

#services-list .project-tags {
  order: 1;
}

#services-list .project-info h2 {
  order: 2;
  max-width: none;
  font-family: var(--font-body);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  margin-top: 6px;
}

#services-list .project-info p {
  order: 3;
  margin-top: 8px;
}

#services-list .project-meta {
  order: 4;
  margin-top: 8px;
}

.services-group {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.services-group:last-child { border-bottom: none; }

.services-group-header { margin-bottom: 40px; }

.group-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--wine-light);
  border: 1px solid var(--wine-light);
  padding: 6px 16px; margin-bottom: 20px;
}

.group-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 44px);
  color: var(--white);
  margin-bottom: 10px; letter-spacing: -0.01em;
  line-height: 1.14;
}

.group-desc {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--wine-light); font-style: italic;
  margin-bottom: 14px;
}

.group-body {
  max-width: 700px; color: rgba(255,255,255,0.6);
  font-size: 16px; line-height: 1.8;
}

.services-list {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 28px;
}

.service-item {
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  background: rgba(255,255,255,0.06);
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s var(--ease);
}

.services-section--alt .service-item { background: rgba(255,255,255,0.04); }

.service-item:hover {
  border-color: var(--wine-light);
  color: var(--wine-light);
}

.services-quote {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 17px; color: var(--wine-light);
  opacity: 0.6;
}

/* Printing grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px; margin-bottom: 28px;
}

.services-grid-col h3 {
  font-family: var(--font-title);
  font-weight: 700; font-size: 17px;
  margin-bottom: 14px; color: var(--white);
}

.services-grid-col ul { display: flex; flex-direction: column; gap: 6px; }

.services-grid-col .service-item {
  padding: 8px 14px; font-size: 13px;
}

/* ---------- PROJECTS PAGE ---------- */
.projects-hero {
  min-height: 0;
  background: transparent;
  overflow: visible;
}

.projects-hero .page-hero-inner {
  position: relative;
  z-index: 3;
  padding-top: 0;
}

.projects-hero .section-label,
.projects-hero .page-hero-title,
.projects-hero .page-hero-desc {
  color: var(--white);
}

.projects-hero .page-hero-desc {
  color: rgba(255,255,255,0.72);
  max-width: 720px;
}

.projects-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.projects-hero-meta span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 10px 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.projects-emblem-stage {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 18;
  overflow: visible;
  opacity: 0;
  visibility: hidden;
  perspective: 1200px;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.projects-emblem-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.projects-emblem-stage.is-active {
  opacity: 1;
  visibility: visible;
}

.projects-emblem-aura {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(48vw, 620px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.06) 28%, rgba(255,255,255,0) 72%);
  filter: blur(14px);
  opacity: 0.7;
}

.projects-emblem-guide {
  position: absolute;
  top: clamp(68px, 9vh, 104px);
  left: 50%;
  width: 1px;
  height: min(62vh, 680px);
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255,255,255,0.38) 0%, rgba(255,255,255,0.14) 40%, rgba(255,255,255,0.04) 72%, rgba(255,255,255,0) 100%);
  transition: opacity 0.3s ease;
}

.projects-emblem-ghost {
  position: absolute;
  top: clamp(26px, 5vw, 48px);
  left: 50%;
  width: min(24vw, 330px);
  transform: translateX(-50%) scaleX(1.16);
  transform-origin: 50% 50%;
  filter: brightness(0) invert(1) blur(12px);
  opacity: 0;
  mix-blend-mode: screen;
  will-change: transform, opacity;
  pointer-events: none;
}

.projects-emblem {
  position: absolute;
  top: clamp(26px, 5vw, 48px);
  left: 50%;
  width: min(24vw, 330px);
  transform: translateX(-50%) scaleX(1.16);
  transform-origin: 50% 50%;
  filter: brightness(0) invert(1) drop-shadow(0 16px 30px rgba(0,0,0,0.24));
  opacity: 1;
  will-change: transform, opacity, filter;
}

.projects-emblem-splash {
  position: absolute;
  top: 0;
  left: 50%;
  width: clamp(140px, 18vw, 260px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%) translateY(-50%);
  opacity: 0;
  will-change: transform, opacity;
  pointer-events: none;
}

.projects-emblem-splash::before,
.projects-emblem-splash::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.projects-emblem-splash::before {
  border: 1.5px solid rgba(255,255,255,0.48);
  box-shadow:
    0 0 18px 4px rgba(255,255,255,0.12),
    0 0 0 3px rgba(255,255,255,0.06);
}

.projects-emblem-splash::after {
  inset: 18%;
  background: radial-gradient(circle, rgba(255,255,255,0.56) 0%, rgba(255,255,255,0.22) 28%, rgba(114,33,65,0.14) 52%, transparent 76%);
  filter: blur(8px);
}

#projects {
  position: relative;
  margin-top: 0;
  padding: clamp(12px, 2vw, 24px) 0 clamp(58px, 7vw, 104px);
  background: transparent;
  z-index: 4;
}

#projects::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

#projects::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(88vw, 1280px);
  height: 1px;
  transform: translateX(-50%);
  background: none;
  pointer-events: none;
}

.projects-intro {
  width: var(--container);
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: 0.9fr 1fr 0.62fr;
  gap: 34px;
  position: relative;
  z-index: 2;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,0.86) 0%, rgba(248,245,242,0.94) 100%);
  border: 1px solid rgba(114,33,65,0.08);
  box-shadow: 0 30px 70px rgba(34,17,24,0.1);
}

.projects-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(114,33,65,0.12) 0%, rgba(114,33,65,0) 38%),
    linear-gradient(90deg, rgba(114,33,65,0.06) 0 1px, transparent 1px 92px);
  pointer-events: none;
}

.projects-intro-head,
.projects-intro-body,
.projects-intro-rail {
  position: relative;
  z-index: 2;
}

.projects-intro-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wine);
}

.projects-intro-kicker::before {
  content: '';
  width: 44px;
  height: 1px;
  background: currentColor;
}

.projects-intro-title {
  font-family: var(--font-title);
  font-size: clamp(34px, 4.2vw, 64px);
  color: var(--charcoal);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 11ch;
}

.projects-intro-copy {
  font-size: 16px;
  color: rgba(26,26,26,0.76);
  line-height: 1.85;
  max-width: 720px;
}

.projects-intro-copy--secondary {
  margin-top: 14px;
  color: rgba(26,26,26,0.56);
}

.projects-intro-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.projects-intro-points span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26,26,26,0.64);
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(26,26,26,0.08);
  background: rgba(255,255,255,0.65);
}

.projects-intro-rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.projects-intro-panel {
  padding: 18px 18px 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(114,33,65,0.95) 0%, rgba(74,21,41,0.95) 100%);
  box-shadow: 0 18px 36px rgba(74,21,41,0.18);
}

.projects-intro-panel-label {
  display: block;
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.56);
}

.projects-intro-panel strong {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.06;
  color: var(--white);
}

.projects-intro-panel p {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}

.projects-intro-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.projects-intro-stat {
  padding: 16px 14px;
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(26,26,26,0.06);
}

.projects-intro-stat-value {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.95;
  color: var(--wine);
}

.projects-intro-stat-label {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26,26,26,0.56);
}

.projects-intro-mark {
  position: absolute;
  right: -14px;
  bottom: -26px;
  width: min(18vw, 180px);
  opacity: 0.09;
  z-index: 1;
  pointer-events: none;
}

.projects-intro-mark img {
  width: 100%;
  filter: invert(15%) sepia(26%) saturate(1512%) hue-rotate(305deg) brightness(80%) contrast(103%);
}

.projects-filters {
  width: var(--container);
  margin: 0 auto 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: sticky;
  top: 106px;
  z-index: 14;
  padding: 16px;
  border-radius: 999px;
  background: rgba(26,14,20,0.8);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 32px rgba(18,12,16,0.2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.filter-btn {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: rgba(255,255,255,0.7);
  background: transparent;
  transition: all 0.3s var(--ease);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--wine);
  color: var(--white);
  border-color: var(--wine);
  box-shadow: 0 12px 26px rgba(114,33,65,0.24);
}

.projects-grid {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.project-card {
  background: transparent;
  border: none;
  perspective: 1200px;
}

.project-card.hidden { display: none; }

.project-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.96fr) minmax(360px, 1.04fr);
  min-height: 430px;
  border-radius: 34px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(0,0,0,0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.project-card:hover .project-shell {
  transform: translateY(-10px);
  box-shadow: 0 44px 90px rgba(18,12,16,0.16);
}

.project-card:nth-child(even) .project-media {
  order: 2;
}

.project-card:nth-child(even) .project-info {
  order: 1;
}

.project-media {
  position: relative;
  min-height: 100%;
  padding: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
}

.project-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 35%, rgba(0,0,0,0.18) 100%);
  z-index: 0;
}

.project-media::after {
  content: '';
  position: absolute;
  inset: auto -10% -22% auto;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 68%);
  z-index: 0;
}

.project-media-top,
.project-media-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.project-index {
  font-family: var(--font-title);
  font-size: clamp(40px, 4vw, 66px);
  line-height: 0.9;
  color: rgba(255,255,255,0.9);
}

.project-kicker,
.project-media-bottom span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.76);
}

.project-media-mark {
  position: absolute;
  top: 50%;
  left: 68%;
  width: clamp(130px, 18vw, 240px);
  transform: translate(-50%, -50%) rotate(-10deg);
  opacity: 0.16;
  z-index: 1;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease), filter 0.35s var(--ease);
}

.project-media-mark img {
  width: 100%;
  filter: brightness(0) invert(1);
}

.project-card.is-active .project-shell {
  border-color: rgba(114,33,65,0.16);
  box-shadow: 0 42px 96px rgba(18,12,16,0.16);
}

.project-card.is-active .project-media-mark {
  opacity: 0.34;
  transform: translate(-50%, -50%) rotate(-10deg) scale(1.08);
  filter: drop-shadow(0 0 18px rgba(255,255,255,0.22));
}

.project-img-inner {
  position: relative;
  inset: auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.6s var(--ease);
}

.project-card:hover .project-img-inner {
  transform: translateY(-6px);
}

.project-img-inner span {
  font-family: var(--font-title);
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.92);
  max-width: 11ch;
}

.project-info {
  padding: clamp(34px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
}

.project-tags {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine-light);
  display: block;
  margin-bottom: 16px;
}

.project-info h2 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(30px, 3vw, 48px);
  margin-bottom: 14px;
  color: var(--white);
  line-height: 1.1;
  max-width: 11ch;
}

.project-info p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  max-width: 58ch;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.project-meta span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
}

.project-media--reimagined {
  background: linear-gradient(135deg, #5d1735 0%, #2b0d19 100%);
}

.project-media--campaign {
  background: linear-gradient(135deg, #1b1b1d 0%, #404045 100%);
}

.project-media--commerce {
  background: linear-gradient(135deg, #722141 0%, #b04371 100%);
}

.project-media--launch {
  background: linear-gradient(135deg, #20070f 0%, #722141 100%);
}

.project-media--rebrand {
  background: linear-gradient(135deg, #121214 0%, #722141 100%);
}

.project-media--motion {
  background: linear-gradient(135deg, #4a1529 0%, #151416 100%);
}

body[data-page="about"] .page-hero {
  padding-bottom: 0;
}

body[data-page="about"] .page-hero .page-hero-title {
  margin-bottom: 24px;
}

body[data-page="about"] #about-intro {
  padding-top: 0;
}

/* ---------- ABOUT PAGE ---------- */
.about-section {
  padding: clamp(36px, 5vw, 68px) 0;
}

.about-section--dark {
  background: transparent;
  color: var(--white);
}

.about-section-inner {
  width: var(--container); margin: 0 auto;
}

.about-intro-text { max-width: 800px; }

.about-lead {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.6; color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}

.about-intro-text p {
  font-size: clamp(17px, 2vw, 22px);
  color: rgba(255,255,255,0.7);
  line-height: 1.6; margin-bottom: 8px;
}

.about-highlight {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 22px !important;
  color: var(--wine-light) !important;
  font-style: italic;
  line-height: 1.6 !important;
  margin-top: 20px !important;
}

.about-philosophy-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 24px;
}

.about-pillar {
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.5s var(--ease);
  display: block;
}

.about-pillar:hover {
  border-color: var(--wine);
  background: rgba(114,33,65,0.15);
  transform: translateY(-4px);
}

.about-section--dark .about-pillar:hover {
  border-color: var(--wine);
  background: rgba(114,33,65,0.15);
  transform: translateY(-4px);
}

.about-pillar-icon {
  font-family: var(--font-title);
  font-weight: 700; font-size: 48px;
  color: var(--wine-light);
  margin-bottom: 14px; line-height: 1;
}

.about-pillar h3 {
  font-family: var(--font-title);
  font-weight: 700; font-size: 24px;
  margin-bottom: 10px;
  line-height: 1.18;
}

.about-pillar p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; margin-top: 48px;
}

.diff-card {
  padding: 40px 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative; overflow: hidden;
  transition: all 0.4s var(--ease);
}

.diff-card::before {
  content: ''; position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--wine);
  transition: height 0.5s var(--ease);
}

.diff-card:hover::before { height: 100%; }

.diff-card:hover {
  background: rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.diff-num {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--wine);
  display: block; margin-bottom: 16px;
}

.diff-card h3 {
  font-family: var(--font-title);
  font-weight: 700; font-size: 20px;
  margin-bottom: 10px; color: var(--white);
}

.diff-card p {
  font-size: 14px; color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ---------- CONTACT PAGE ---------- */
#contact {
  padding: var(--section-pad) 0;
}

.contact-wrapper {
  width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}

.contact-block { margin-bottom: 36px; }

.contact-block h2 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--wine-light);
  margin-bottom: 12px;
  font-family: var(--font-body);
}

.contact-block p {
  font-size: 16px; color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

.contact-block a { transition: color 0.3s; }
.contact-block a:hover { color: var(--white); }

.social-links { display: flex; gap: 24px; }

.social-links a {
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}

.social-links a:hover { color: var(--white); }

/* Form */
.contact-form {
  display: flex; flex-direction: column; gap: 28px;
}

.form-group label {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%; background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 14px 0;
  font-family: var(--font-body);
  font-size: 16px; color: var(--white);
  outline: none; transition: border-color 0.3s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--wine);
}

.form-submit {
  display: inline-flex; align-items: center; gap: 12px;
  align-self: flex-start;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--white);
  background: var(--wine);
  padding: 18px 40px;
  border: 1px solid var(--wine);
  transition: all 0.4s var(--ease);
}

.form-submit:hover {
  background: transparent;
  color: var(--white);
}

.form-submit svg { transition: transform 0.4s var(--ease); }
.form-submit:hover svg { transform: translateX(4px); }

.contact-footer {
  width: var(--container); margin: 80px auto 0;
  text-align: center;
  padding-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.contact-footer p {
  font-size: 16px; color: rgba(255,255,255,0.5);
}

.contact-motto {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--white) !important;
  margin-top: 12px;
  font-style: italic;
}

/* ---------- FOOTER ---------- */
#footer {
  background: transparent;
  padding: 28px 0 20px;
}

.footer-inner {
  width: var(--container); margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 14px;
}

.footer-logo {
  display: flex; align-items: center;
}

.footer-logo img {
  height: clamp(36px, 4.6vw, 52px);
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logo span { font-style: italic; }

.footer-links {
  display: flex; gap: 24px;
}

.footer-links a {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between;
}

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

.footer-social { display: flex; gap: 18px; }

.footer-social a {
  font-size: 12px; color: rgba(255,255,255,0.3);
  transition: color 0.3s;
}

.footer-social a:hover { color: var(--white); }

/* ---------- GSAP ANIMATION INITIAL STATES ---------- */
[data-anim="fade-up"] {
  opacity: 0;
  transform: translateY(40px);
}

/* ---------- SPLIT TEXT ---------- */
[data-anim="split-text"] .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: baseline;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

[data-anim="split-text"] .word .char {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}

/* ---------- TEXT REVEAL (scrub) ---------- */
.reveal-section {
  padding: clamp(100px, 14vw, 200px) 0;
  background: transparent;
}

.reveal-inner {
  width: var(--container); margin: 0 auto;
}

.reveal-text {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 48px);
  line-height: 1.5;
  color: var(--white);
}

.reveal-text .word {
  display: inline-block;
  margin-right: 0.2em;
  opacity: 0.15;
  transition: none;
}

/* ---------- MARQUEE BELT ---------- */
.marquee-belt {
  position: relative;
  overflow: hidden;
  transform: rotate(-2deg) scale(1.05);
  margin: -10px 0;
  z-index: 2;
}

.marquee {
  background: transparent;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: none;
  border-bottom: none;
}

.marquee--forward {
  background: transparent;
}

.marquee--reverse {
  background: transparent;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  will-change: transform;
}

.marquee-track span {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
}

.marquee-dot {
  width: 6px !important;
  height: 6px;
  background: var(--wine);
  border-radius: 50%;
  display: inline-block !important;
  flex-shrink: 0;
}

/* ---------- STATS COUNTER ---------- */
.stats-section {
  background: transparent;
  padding: clamp(48px, 6vw, 88px) 0;
  overflow: hidden;
}

.stats-header {
  width: var(--container); margin: 0 auto;
  text-align: left;
  margin-bottom: 36px;
}

.stats-inner {
  width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-number {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 80px);
  color: var(--white);
  line-height: 1;
  display: inline-block;
}

.stat-infinity {
  font-size: clamp(48px, 6vw, 80px) !important;
  line-height: 1;
  vertical-align: baseline;
}

.stat-suffix {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  color: var(--white);
  vertical-align: super;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
}

/* ---------- PARALLAX TEXT ---------- */
.parallax-text-section {
  padding: clamp(80px, 12vw, 180px) 0;
  background: transparent;
  overflow: hidden;
  position: relative;
}

.parallax-text-inner {
  will-change: transform;
}

.parallax-text-inner h2 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(60px, 12vw, 160px);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.2);
  text-align: center;
  line-height: 1.15;
  letter-spacing: -0.02em;
  user-select: none;
}

.parallax-text-inner:nth-child(2) h2 {
  -webkit-text-stroke-color: rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.05);
}

/* ---------- LINE INNER (clip reveal) ---------- */

/* ---------- SHOWREEL SECTION ---------- */
.showreel-section {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0;
  margin-top: 0;
}

.showreel-inner {
  width: 100%;
  margin: 0;
}

.showreel-placeholder {
  width: 100%;
  min-height: clamp(540px, 82vh, 880px);
  aspect-ratio: auto;
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-left: none;
  border-right: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.showreel-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.showreel-video {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  display: block;
  object-fit: cover;
  background: #050505;
}

.showreel-audio-toggle {
  position: absolute;
  right: 32px;
  bottom: 28px;
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(7,7,7,0.55);
  color: var(--white);
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(14px);
}

.showreel-audio-toggle:hover,
.showreel-audio-toggle:focus-visible {
  background: rgba(114,33,65,0.72);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-1px);
}

.showreel-audio-toggle.is-active {
  background: rgba(114,33,65,0.82);
  border-color: rgba(255,255,255,0.5);
}

.showreel-label--overlay {
  position: absolute;
  left: 32px;
  bottom: 28px;
  z-index: 2;
  color: rgba(255,255,255,0.5);
  pointer-events: none;
}

/* ---------- WE ACT4 SECTION ---------- */
.we-act4-section {
  padding: clamp(56px, 7vw, 104px) 0;
}

.we-act4-inner {
  width: var(--container); margin: 0 auto;
  text-align: left;
}

.we-act4-statement {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: var(--section-heading-size);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 980px;
}

.we-act4-transform {
  margin-top: 34px;
}

.transform-lines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.transform-line {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  padding: 14px clamp(12px, 1.4vw, 20px);
  border-top: 1px solid rgba(255,255,255,0.16);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.045) 0%, rgba(114,33,65,0.12) 100%);
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.transform-line:hover {
  transform: translateY(-3px);
  border-top-color: rgba(255,255,255,0.28);
  border-bottom-color: rgba(168,50,98,0.36);
  background: linear-gradient(90deg, rgba(255,255,255,0.07) 0%, rgba(114,33,65,0.18) 100%);
  box-shadow: 0 18px 48px rgba(0,0,0,0.16);
}

.transform-copy {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.2em, 0.45vw, 0.36em);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(15px, 1.85vw, 28px);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: 0.005em;
  text-align: center;
  white-space: nowrap;
}

.transform-source {
  color: rgba(255,255,255,0.92);
}

.transform-connector {
  font-family: var(--font-body);
  font-size: 0.82em;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--wine-light);
  transform: translateY(-0.04em);
}

.transform-target {
  color: var(--wine-light);
}

/* ---------- CLIENT SHOWCASE ---------- */
#services-preview {
  padding: clamp(52px, 7vw, 96px) 0;
}

#services-preview .section-header {
  margin-bottom: 42px;
}

.client-showcase-grid {
  width: var(--container); margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

section[hidden] { display: none !important; }

.dynamic-content-loader {
  grid-column: 1 / -1;
  width: 100%;
  min-height: clamp(160px, 24vh, 280px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(114,33,65,0.14));
  color: rgba(255,255,255,0.56);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.projects-grid .dynamic-content-loader {
  min-height: clamp(220px, 30vh, 360px);
}

.partners-track .dynamic-content-loader {
  min-width: var(--container);
}

.client-showcase-item {
  position: relative;
  overflow: hidden;
}

.client-showcase-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.client-showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.client-showcase-item:hover .client-showcase-img img {
  transform: scale(1.05);
}

.client-showcase-name {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ---------- PARTNERS SECTION ---------- */
.partners-section {
  padding: clamp(44px, 6vw, 82px) 0;
  overflow: hidden;
}

.partners-inner {
  width: var(--container); margin: 0 auto;
  text-align: left;
}

.partners-marquee {
  margin-top: 48px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.partners-track {
  display: flex;
  gap: 90px;
  animation: partnerScroll 60s linear infinite;
  width: max-content;
  align-items: center;
}

.partner-logo {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
  padding: 24px 40px;
  border: 1px solid rgba(255,255,255,0.08);
  min-width: 240px;
  min-height: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  max-width: 240px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.65);
  opacity: 0.85;
}

@keyframes partnerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .partners-marquee {
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .partners-track {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    animation: none;
    transform: none !important;
  }

  .partner-logo {
    min-width: 0;
    min-height: 92px;
    padding: 18px 16px;
  }

  .partner-logo img {
    max-width: 100%;
    max-height: 72px;
    filter: grayscale(1) brightness(1.45);
    transform: translateZ(0);
  }
}

/* ---------- ABOUT VISION/MISSION ---------- */
.about-vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.about-vm-block {
  padding: 12px 0;
}

.about-vm-text {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin-top: 14px;
}

.text-color {
  color: var(--wine-light);
  font-weight: 700;
}

.spaced-text {
  letter-spacing: 0.3em;
  font-weight: 700;
}

/* ---------- STILL CURIOUS ---------- */
.curious-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.curious-block {
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.4s var(--ease);
}

.curious-block:hover {
  border-color: rgba(168,50,98,0.4);
  background: rgba(255,255,255,0.02);
}

.curious-block h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.curious-block p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}

.curious-block--highlight {
  border-color: var(--wine-light);
  background: rgba(114,33,65,0.1);
}

.curious-block--highlight p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
}

.hero-tagline-line {
  overflow: visible;
  display: block;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.hero-tagline-line .line-inner {
  display: inline-block;
  transform: translate3d(0, 0, 0);
  will-change: transform, filter, opacity;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .about-philosophy-grid,
  .about-preview-points {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .projects-hero {
    min-height: 86vh;
  }

  .projects-filters {
    top: 94px;
    border-radius: 28px;
  }

  .project-shell {
    grid-template-columns: 1fr;
  }

  .project-card:nth-child(even) .project-media,
  .project-card:nth-child(even) .project-info {
    order: initial;
  }

  .project-media {
    min-height: 320px;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }

  .home-service-card {
    width: 300px; min-width: 300px;
  }

  .client-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .curious-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #navbar { padding: 4px 0; }
  #navbar.scrolled { padding: 2px 0; }
  .nav-inner { width: min(94vw, var(--container)); }
  .nav-logo img { height: clamp(62px, 17vw, 82px); }
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; padding: 0; }

  .cursor-follower.hovering {
    background: var(--white);
    border-color: transparent;
    mix-blend-mode: normal;
    opacity: 0.35;
  }

  #hero {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
  }

  .showreel-placeholder {
    min-height: auto;
    aspect-ratio: 16 / 9;
    padding: 0;
  }

  .showreel-video {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    object-fit: contain;
  }

  .showreel-audio-toggle {
    right: 16px;
    bottom: 14px;
    padding: 9px 12px;
    font-size: 11px;
  }

  .we-act4-statement {
    font-size: var(--section-heading-size);
  }

  .transform-lines {
    grid-template-columns: 1fr;
  }

  .transform-line {
    padding: 14px 18px;
  }

  .transform-copy {
    gap: 0.3em;
    font-size: clamp(16px, 4.8vw, 24px);
  }

  .transform-connector {
    font-size: 0.66em;
    transform: translateY(-0.04em);
  }

  .hero-content {
    width: min(100%, 92vw);
    padding: clamp(72px, 10svh, 104px) 16px clamp(42px, 7svh, 68px);
  }

  .hero-tagline-line {
    font-size: clamp(36px, 10.5vw, 64px);
    line-height: 1.04;
  }

  .hero-subtitle {
    font-size: clamp(12px, 3.4vw, 16px);
    letter-spacing: 0.28em;
  }

  .hero-illustration {
    opacity: 0.9;
  }

  .hero-illustration svg {
    width: 145%;
    height: 145%;
    left: -22%;
    top: -14%;
  }

  .hero-illustration .orbit {
    stroke: rgba(255,255,255,0.15);
    stroke-width: 1.45;
  }

  .hero-illustration .line-deco {
    stroke: rgba(255,255,255,0.12);
    stroke-width: 0.9;
  }

  .hero-illustration .float-shape {
    stroke: rgba(255,255,255,0.18);
    stroke-width: 1.05;
  }

  .projects-hero {
    min-height: 74vh;
  }

  .projects-hero .page-hero-inner {
    padding-top: 104px;
  }

  .projects-hero-meta {
    gap: 8px;
  }

  .projects-hero-meta span {
    padding: 9px 12px;
    letter-spacing: 0.12em;
  }

  .projects-emblem {
    width: min(44vw, 220px);
  }

  .projects-emblem-guide {
    height: 68vh;
  }

  .projects-emblem-ghost {
    width: min(44vw, 220px);
  }

  #projects {
    margin-top: -2vh;
  }

  .projects-filters {
    top: 78px;
    width: min(92vw, var(--container));
    padding: 12px;
    border-radius: 22px;
  }

  .projects-intro-copy {
    font-size: 15px;
  }

  .projects-intro-rail {
    display: flex;
  }

  .projects-intro-stats {
    grid-template-columns: 1fr 1fr;
  }

  .project-shell {
    border-radius: 28px;
  }

  .project-media {
    min-height: 280px;
    padding: 22px;
  }

  .project-kicker,
  .project-media-bottom span,
  .project-tags,
  .project-meta span {
    letter-spacing: 0.12em;
  }

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

  .philosophy-pillar {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .philosophy-pillar:last-child { border-bottom: none; }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-list { gap: 8px; }

  .service-item {
    padding: 10px 16px; font-size: 13px;
  }

  .footer-top, .footer-bottom {
    flex-direction: column; gap: 20px;
    text-align: center;
  }

  .footer-links { flex-wrap: wrap; justify-content: center; }

  .diff-grid { grid-template-columns: 1fr; }

  .about-preview-points { grid-template-columns: 1fr; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }

  .home-service-card { width: 280px; min-width: 280px; }
}

@media (max-width: 480px) {
  #hero {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
  }

  .hero-content {
    width: min(100%, 94vw);
    padding: clamp(68px, 9svh, 92px) 14px clamp(36px, 6svh, 56px);
  }

  .hero-tagline-line {
    font-size: clamp(32px, 10.6vw, 50px);
    padding-inline: 0.1em;
  }

  .hero-subtitle {
    letter-spacing: 0.18em;
  }

  .transform-lines {
    gap: 10px;
  }

  .transform-line {
    padding: 12px 14px;
  }

  .transform-copy {
    font-size: clamp(15px, 4.7vw, 20px);
  }

  .projects-emblem {
    width: 190px;
  }

  .projects-filters {
    top: 70px;
    border-radius: 18px;
  }

  .projects-intro-stats {
    grid-template-columns: 1fr;
  }

  .filter-btn {
    width: calc(50% - 5px);
    justify-content: center;
    padding: 11px 14px;
  }

  .project-media {
    min-height: 250px;
  }

  .project-info {
    padding: 28px 22px;
  }

  .project-info h2 {
    max-width: none;
  }

  .nav-logo img { height: 64px; }
  .hero-illustration svg {
    width: 160%;
    height: 160%;
    left: -30%;
    top: -18%;
  }
  .services-grid { grid-template-columns: 1fr; }
  .projects-filters { gap: 6px; }
  .filter-btn { padding: 10px 18px; font-size: 11px; }
}

/* ======================================================
   PROJECT POPUP / CAROUSEL (driven by js/publicContent.js)
   ====================================================== */
.project-modal {
  position: fixed; inset: 0;
  z-index: 9000;
  display: none;
}
.project-modal.is-open { display: block; }
.project-modal-overlay {
  position: absolute; inset: 0;
  background: rgba(8, 4, 6, 0.78);
  backdrop-filter: blur(8px);
  animation: pmFade 0.25s ease;
}
.project-modal-dialog {
  position: relative;
  width: min(1080px, 92vw);
  max-height: 90vh;
  margin: 5vh auto;
  background: linear-gradient(160deg, #1a0e14 0%, #2a1420 60%, #3c1a2c 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  animation: pmIn 0.35s var(--ease, cubic-bezier(0.16, 1, 0.3, 1));
}
.project-modal-close {
  position: absolute; top: 14px; right: 16px;
  z-index: 5;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 22px; line-height: 1;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.project-modal-close:hover { background: rgba(0,0,0,0.7); transform: scale(1.05); }

.project-modal-carousel {
  position: relative;
  background: #0a0608;
  min-height: 360px;
  display: flex;
}
.project-modal-slides {
  position: relative;
  flex: 1;
  min-height: 360px;
}
.project-modal-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-modal-slide.is-active { opacity: 1; }
.project-modal-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-modal-slide--empty {
  background: #1a0e14;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.project-modal-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  z-index: 3;
  transition: background .15s, transform .15s;
}
.project-modal-nav:hover { background: rgba(0,0,0,0.75); }
.project-modal-prev { left: 14px; }
.project-modal-next { right: 14px; }
.project-modal-dots {
  position: absolute;
  bottom: 14px; left: 0; right: 0;
  display: flex; gap: 6px;
  justify-content: center;
  z-index: 3;
}
.project-modal-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
  transition: background .15s, transform .15s;
}
.project-modal-dot.is-active { background: #fff; transform: scale(1.25); }

.project-modal-body {
  padding: 32px 32px 28px;
  overflow-y: auto;
  color: #f4eef0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.project-modal-tags {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.project-modal-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 40px);
  margin: 0;
  line-height: 1.15;
}
.project-modal-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
}
.project-modal-desc p { margin: 0 0 0.9em; }
.project-modal-desc p:last-child { margin-bottom: 0; }

@keyframes pmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pmIn { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .project-modal-dialog {
    grid-template-columns: 1fr;
    margin: 3vh auto;
    max-height: 94vh;
  }
  .project-modal-carousel,
  .project-modal-slides { min-height: 240px; }
  .project-modal-body { padding: 22px 22px 24px; }
}
