/* ============================================================
   IMAGIMATA — Main Stylesheet
   ============================================================ */

/* ─── CUSTOM PROPERTIES ─── */
:root {
  --black:     #0a0a0a;
  --off-black: #111111;
  --white:     #f5f4f0;
  --off-white: #eceae4;
  --gray-100:  #e0deda;
  --gray-200:  #c8c7c3;
  --gray-400:  #888783;
  --gray-600:  #4a4948;
  --gray-800:  #2a2928;

  --font-serif: 'DM Serif Display', serif;
  --font-sans:  'Outfit', sans-serif;

  --transition-fast:   0.2s ease;
  --transition-base:   0.4s ease;
  --transition-slow:   0.7s ease;
  --transition-xslow:  1.1s cubic-bezier(0.16, 1, 0.3, 1);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  background: none;
}

/* ─── PAGE TRANSITION OVERLAY ─── */
#page-transition {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  pointer-events: none;
  transform: scaleY(0);
  transform-origin: top;
}

body.is-leaving #page-transition {
  animation: curtainClose 0.55s var(--ease-out-expo) forwards;
}

body.is-entering #page-transition {
  animation: curtainOpen 0.55s var(--ease-out-expo) forwards;
  transform-origin: bottom;
  transform: scaleY(1);
}

@keyframes curtainClose {
  from { transform: scaleY(0); transform-origin: top; }
  to   { transform: scaleY(1); transform-origin: top; }
}

@keyframes curtainOpen {
  from { transform: scaleY(1); transform-origin: bottom; }
  to   { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── CUSTOM CURSOR ─── */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out-expo),
              height 0.3s var(--ease-out-expo),
              opacity 0.3s;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(245,244,240,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-out-expo),
              height 0.4s var(--ease-out-expo),
              border-color 0.3s;
  mix-blend-mode: difference;
}

.cursor.is-hovering {
  width: 6px;
  height: 6px;
}

.cursor-ring.is-hovering {
  width: 56px;
  height: 56px;
  border-color: rgba(245,244,240,0.9);
}

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 28px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition-base),
              padding var(--transition-base),
              border-color var(--transition-base);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10,10,10,0.96);
  padding: 18px 60px;
  border-bottom-color: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  transition: opacity var(--transition-fast);
}

.nav-logo:hover { opacity: 0.7; }

.logo-img {
  height: 50px;   /* adjust size as needed */
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 44px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width var(--transition-base);
}

.nav-links a:hover::after { width: 100%; }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--transition-slow),
              transform var(--transition-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* ─── SECTION LABEL ─── */
.section-label {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 64px;
}

.section-label::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gray-600);
  flex-shrink: 0;
}

.section-label.light { color: var(--gray-600); }
.section-label.light::before { background: var(--gray-400); }

/* ─── HERO ─── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.58);
  z-index: 1;
}

.hero__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--off-black);
  background-image:
    radial-gradient(ellipse 90% 60% at 15% 50%, rgba(255,255,255,0.04) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(255,255,255,0.03) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 90%, rgba(255,255,255,0.02) 0%, transparent 50%);
}

/* Noise grain overlay */
.hero__fallback::after,
.hero__noise {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero__logo-image {
  width: 220px;
  max-width: 80%;
  height: auto;
  display: block;
}

.hero__tagline {
  font-family: var(--font-sans);
  font-size: clamp(11px, 1.4vw, 15px);
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gray-200);
  opacity: 0;
  animation: heroFadeUp 1.3s 0.5s var(--ease-out-expo) forwards;
}

.hero__tagline strong {
  font-weight: 600;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1.25em;
  letter-spacing: 0.08em;
  text-transform: none;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: heroFadeUp 1s 1s var(--ease-out-expo) forwards;
}

.hero__scroll-hint span {
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gray-600), transparent);
  animation: scrollPulse 2s 1.5s ease-in-out infinite;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* ── SHOWREEL ───────────────────────────── */
.showreel {
  position: relative;   /* ← positioning parent for overlays */
  width: 100%;
  background: #000;
  line-height: 0;
}

.showreel__video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.showreel__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* gradient scrim on the section, not the video-wrap */
.showreel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.2) 30%,
    transparent 55%
  );
  pointer-events: none;
  z-index: 1;
}

/* ── SHOWREEL ───────────────────────────── */
.showreel {
  position: relative;   /* ← positioning parent for overlays */
  width: 100%;
  background: #000;
  line-height: 0;
}

.showreel__video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.showreel__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* gradient scrim on the section, not the video-wrap */
.showreel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.2) 30%,
    transparent 55%
  );
  pointer-events: none;
  z-index: 1;
}

/* ── SHOWREEL ───────────────────────────── */
.showreel {
  position: relative;
  width: 100%;
  background: #000;
  line-height: 0;
  height: 100vh;        /* ← full viewport height, nothing crops */
  overflow: hidden;     /* ← clip the video, not the overlays */
}

.showreel__video-wrap {
  position: absolute;
  inset: 0;             /* ← stretch to fill the section */
  width: 100%;
  height: 100%;
}

.showreel__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* gradient scrim */
.showreel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.2) 30%,
    transparent 55%
  );
  pointer-events: none;
  z-index: 1;
}

/* ── SHOWREEL TITLE ─────────────────────── */
.showreel__title {
  position: absolute;
  bottom: 5rem;
  left: 2.5rem;
  z-index: 2;
  color: #fff;
  line-height: 1;
}

.showreel__label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
  margin: 0 0 0.6rem;
}

.showreel__name {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
}

.showreel__name em {
  font-style: italic;
  opacity: 0.85;
}

/* ── MUTE BUTTON ────────────────────────── */
.showreel__mute-btn {
  position: absolute;
  bottom: 5rem;
  right: 2rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s;
}

.showreel__mute-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.8);
}

/* ─── ABOUT ─── */
.about {
  background: var(--white);
  color: var(--black);
  padding: 130px 60px;
}
.about__left {
  display: flex;
  align-items: center;   /* vertical center */
  height: 100%;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  max-width: 1280px;
}

.about__headline {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 300;
  line-height: 1.18;
  color: var(--black);
}

.about__headline em { font-style: italic; }

.about__stats {
  display: flex;
  gap: 48px;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid var(--gray-100);
}

.about__stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 600;
  color: var(--black);
  line-height: 1;
}

.about__stat-label {
  display: block;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-top: 8px;
}

.right-text {
  text-align: justify;
}

.about__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.about__body p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.95;
  color: var(--gray-600);
  text-align: justify;
}

.about__body p strong {
  font-weight: 100;
  color: var(--black);
}

/* ─── PROJECTS ─── */
.projects {
  background: var(--black);
  padding: 130px 0;
}

.projects__header {
  padding: 0 60px;
  margin-bottom: 0;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 40px;
}


/* ─── PROJECT CARD ─── */
.project-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
  background: var(--off-black);
}

.project-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(0%) brightness(0.45);
  transition: filter 0.6s var(--ease-out-expo),
              transform 0.6s var(--ease-out-expo);
  will-change: transform, filter;
}

.project-card:hover .project-card__bg {
  filter: grayscale(20%) brightness(0.65);
  transform: scale(1.07);
}

.project-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 30%, transparent 100%);
  z-index: 1;
}

.project-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
  z-index: 2;
  transition: transform 0.4s var(--ease-out-expo);
}

.project-card:hover .project-card__info {
  transform: translateY(-10px);
}

.project-card__num {
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--gray-400);
  font-weight: 300;
  margin-bottom: 8px;
}

.project-card__title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.2;
}

.project-card__type {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-400);
  font-weight: 300;
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 3;
  transition: opacity 0.4s var(--ease-out-expo);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.project-card:hover .project-card__overlay { opacity: 1; }

.btn-more {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--white);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  transform: translateY(12px);
  opacity: 0;
  transition: background var(--transition-base),
              color var(--transition-base),
              transform 0.45s var(--ease-out-expo),
              opacity 0.45s var(--ease-out-expo);
}

.project-card:hover .btn-more {
  transform: translateY(0);
  opacity: 1;
}

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

/* ─── SERVICES ─── */
.services {
  background: var(--white);
  color: var(--black);
  padding: 0;
}

.services__header {
  padding: 130px 60px 80px;
}

.services__headline {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 300;
  line-height: 1.18;
  color: var(--black);
  max-width: 760px;
}

.services__headline em { font-style: italic; }

/* Ticker */
.services__ticker {
  overflow: hidden;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 0;
  background: var(--black);
  position: relative;
}

.services__ticker::before,
.services__ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.services__ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--black), transparent);
}

.services__ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--black), transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 20s linear infinite;
}

.ticker-item {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  color: var(--white);
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
  white-space: nowrap;
}

.ticker-item .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray-600);
  flex-shrink: 0;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Services grid */
.services__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gray-100);
}

.service-item {
  padding: 64px 48px;
  border-right: 1px solid var(--gray-100);
  transition: background var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-item:last-child { border-right: none; }

.service-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out-expo);
  z-index: 0;
}

.service-item:hover::before { transform: translateY(0); }

.service-item__inner {
  position: relative;
  z-index: 1;
}

.service-item__num {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 300;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 44px;
  transition: color var(--transition-base);
}

.service-item:hover .service-item__num { color: var(--gray-800); }

.service-item__name {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 18px;
  transition: color var(--transition-base);
}

.service-item:hover .service-item__name { color: var(--white); }

.service-item__desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--gray-600);
  transition: color var(--transition-base);
}

.service-item:hover .service-item__desc { color: var(--gray-400); }


/* ═══════════════════════════════════
   AWARDS
═══════════════════════════════════ */
.awards {
  padding: 130px 0 130px 60px;
  background: #000000;
}

.awards__img {
  width: 100%;
  max-width: 1280px;
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 1;
}

/* ═══════════════════════════════════
   CLIENTS
═══════════════════════════════════ */
.clients {
  padding: 130px 0 130px 60px;
  background: #000000;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.clients__img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 1;
}

/* ─── Responsive: Awards & Clients ─── */
@media (max-width: 768px) {
  .awards,
  .clients { padding: 80px 24px; }
}

.clients__img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 2rem auto 0;
  opacity: 0.9;
}
/* ─── CONTACT ─── */
.contact {
  background: var(--black);
  padding: 130px 60px;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.contact__left {
  flex: 1;
  padding-top: 60px;
  position: sticky;
  top: 120px;
}

.contact__headline {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 68px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 32px;
}

.contact__headline em { font-style: italic; }

.contact__sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray-400);
  line-height: 1.85;
  max-width: 340px;
}

.contact__right {
  flex: 1.3;
}

/* Form */
.form-group {
  margin-bottom: 36px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white-600);
  margin-bottom: 12px;
  transition: color var(--transition-base);
}

.form-group:focus-within label { color: var(--gray-200); }

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gray-600);
  padding: 12px 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition-base);
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-800); }

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

.form-group textarea { min-height: 110px; }

/* Underline animation */
.form-group__line {
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.4s var(--ease-out-expo);
}

.form-group:focus-within .form-group__line { width: 100%; }

.btn-submit {
  display: inline-block;
  margin-top: 12px;
  padding: 18px 56px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: 1px solid var(--white);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color var(--transition-base);
}

.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: translateX(-100%);
  transition: transform 0.45s var(--ease-out-expo);
}

.btn-submit:hover { color: var(--white); }
.btn-submit:hover::before { transform: translateX(0); }

.btn-submit span { position: relative; z-index: 1; }

.contactspram {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--gray-600);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray-400);
  text-decoration: none;
  width: 100%;
  transition: color var(--transition-base);
}

.contact__instagram:hover { color: var(--white); }

.ig-icon {
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--transition-base);
}

/* ─── FOOTER ─── */
.footer {
  padding: 36px 60px;
  border-top: 1px solid var(--gray-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--gray-600);
}

.footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--gray-600);
}

.footer__tagline strong { font-weight: 600; }

/* ─── PROJECT DETAIL PAGE ─── */
.project-hero {
  position: relative;
  height: 75vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 80px 60px;
}

.project-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) brightness(0.38);
  transform: scale(1.04);
  transition: transform 1.4s var(--ease-out-expo);
}

.project-hero.loaded .project-hero__bg { transform: scale(1); }

.project-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  z-index: 1;
}

.project-hero__content {
  position: relative;
  z-index: 2;
}

.project-hero__type {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.project-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 300;
  line-height: 1;
  color: var(--white);
}

/* Project content */
.project-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 60px;
}

.project-meta {
  display: flex;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--gray-600);
  margin-bottom: 80px;
}

.project-meta__item label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 10px;
}

.project-meta__item span {
  font-size: 15px;
  font-weight: 300;
  color: var(--gray-200);
}

.project-body {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 80px;
  margin-bottom: 80px;
}

.project-text h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  margin-bottom: 18px;
}

.project-text p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.95;
  color: var(--gray-400);
  margin-bottom: 44px;
}

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

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid var(--gray-600);
}

.project-tag {
  padding: 8px 18px;
  border: 1px solid var(--gray-600);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-400);
  transition: border-color var(--transition-base), color var(--transition-base);
}

.project-tag:hover {
  border-color: var(--gray-200);
  color: var(--white);
}

/* Video */
.project-video__label {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.project-video__label::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gray-600);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #111;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Project nav */
.project-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 60px;
  border-top: 1px solid var(--gray-600);
}

.project-nav a {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-400);
  transition: color var(--transition-base);
  display: flex;
  align-items: center;
  gap: 12px;
}

.project-nav a:hover { color: var(--white); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .about__grid { gap: 60px; }
  .services__list { grid-template-columns: 1fr 1fr; }
  .service-item { border-bottom: 1px solid var(--gray-100); }
  .project-body { grid-template-columns: 1fr; gap: 60px; }
}

@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .nav.scrolled { padding: 16px 24px; }
  .nav-links { display: none; }

  .hero__logo { letter-spacing: 0.1em; }

  .about { padding: 80px 24px; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__stats { gap: 32px; }

  .projects { padding: 80px 0; }
  .projects__header { padding: 0 24px; }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .project-card:nth-child(7) { grid-column: auto; }

  .services__header { padding: 80px 24px 60px; }
  .services__list { grid-template-columns: 1fr; }
  .service-item { border-right: none; border-bottom: 1px solid var(--gray-100); }

  .contact { flex-direction: column; padding: 80px 24px; gap: 48px; }
  .contact__left { position: static; padding-top: 0; }

  .footer { flex-direction: column; gap: 12px; text-align: center; padding: 32px 24px; }

  .project-hero { padding: 60px 24px; }
  .project-content { padding: 60px 24px; }
  .project-meta { flex-wrap: wrap; gap: 32px; }
  .project-body { grid-template-columns: 1fr; }
  .cursor, .cursor-ring { display: none; }
}
