/* ================================================================
   PORTFOLIO — Sébastien DANIEL
   Dark Minimalist · GSAP · Lenis
   ================================================================ */

/* ---------------------------------------------------------------
   1. ROOT VARIABLES
--------------------------------------------------------------- */
:root {
  --bg:         #0a0a0a;
  --surface:    #111111;
  --border:     #1e1e1e;
  --text:       #f0ede8;
  --muted:      #484440;
  --dim:        #222020;

  --font-disp:  'Syne', sans-serif;
  --font-body:  'Space Grotesk', sans-serif;

  --ease:       cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);

  --nav-h:      72px;
  --sp:         clamp(80px, 10vw, 140px);
  --gutter:     clamp(24px, 5vw, 80px);
}

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

html {
  background: var(--bg);
  overflow-x: hidden;
  scroll-behavior: auto;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

a    { color: inherit; text-decoration: none; cursor: none; }
img,
video { display: block; max-width: 100%; }

/* Media players need a real, visible pointer: the custom cursor cannot be
   aimed at play / volume / subtitle buttons, and never tracks inside an iframe */
video[controls],
.youtube-embed,
.youtube-embed iframe { cursor: auto; }

/* The custom cursor freezes at the edge of an iframe, so hide it while inside */
body.is-over-embed .cursor,
body.is-over-embed .cursor-ring { opacity: 0 !important; }
button { cursor: none; background: none; border: none; font: inherit; color: inherit; }

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 99998;
  pointer-events: none;
  opacity: 0.035;
  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)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ---------------------------------------------------------------
   3. CUSTOM CURSOR
--------------------------------------------------------------- */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--text);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity .3s;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(240,237,232,.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .4s var(--ease), height .4s var(--ease),
              border-color .3s, opacity .3s;
}
.cursor-ring.is-hover  { width: 56px; height: 56px; border-color: var(--text); }
.cursor-ring.is-active { width: 24px; height: 24px; }

/* ---------------------------------------------------------------
   4. LOADER
--------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--gutter) var(--gutter) clamp(40px, 6vw, 72px);
  overflow: hidden;
}

.loader-counter {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(24px, 4vw, 56px);
  font-family: var(--font-disp);
  font-size: clamp(100px, 20vw, 280px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  color: var(--text);
  opacity: .06;
  user-select: none;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}

.loader-name {
  font-family: var(--font-disp);
  font-size: clamp(28px, 4.5vw, 60px);
  font-weight: 800;
  letter-spacing: 0;
  display: block;
  transform: translateY(110%);
  opacity: 0;
}

.loader-role {
  display: block;
  font-size: clamp(12px, 1.4vw, 15px);
  color: var(--muted);
  letter-spacing: .1em;
  margin-top: 10px;
  transform: translateY(20px);
  opacity: 0;
}

.loader-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--text);
  width: 0%;
}

/* ---------------------------------------------------------------
   5. NAVIGATION
--------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background .5s, border-color .5s;
}

.nav.is-scrolled {
  background: rgba(10,10,10,.88);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-disp);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color .3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--text);
  transition: width .4s var(--ease);
}
.nav-link:hover,
.nav-link.is-active { color: var(--text); }
.nav-link:hover::after,
.nav-link.is-active::after { width: 100%; }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px 0;
  width: 28px;
}
.nav-burger span {
  display: block;
  height: 1px;
  background: var(--text);
  transition: transform .4s var(--ease), opacity .3s, width .4s var(--ease);
}
.nav-burger span:nth-child(2) { width: 60%; }
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------
   6. MOBILE MENU OVERLAY
--------------------------------------------------------------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 32px) var(--gutter) var(--gutter);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease);
}
.menu-overlay.open { clip-path: inset(0 0 0% 0); }

.menu-overlay-links { display: flex; flex-direction: column; gap: 6px; }

.menu-overlay-link {
  font-family: var(--font-disp);
  font-size: clamp(40px, 10vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--dim);
  transition: color .35s;
  line-height: 1.1;
  overflow: hidden;
  display: block;
}
.menu-overlay-link:hover { color: var(--text); }

.menu-overlay-foot {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  color: var(--muted);
}
.menu-overlay-foot a {
  color: inherit;
  transition: color .3s;
}
.menu-overlay-foot a:hover { color: var(--text); }

/* ---------------------------------------------------------------
   7. SHARED UTILITIES
--------------------------------------------------------------- */
.section-pad { padding: var(--sp) var(--gutter); }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.label-sm {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-more {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .3s, gap .4s var(--ease);
}
.section-more:hover { color: var(--text); gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 100px;
  border: 1px solid var(--border);
  transition: background .3s, color .3s, border-color .3s;
  cursor: none;
}
.btn:hover { border-color: var(--text); }
.btn-solid { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-solid:hover { background: transparent; color: var(--text); }

/* ---------------------------------------------------------------
   8. HERO
--------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 75%, #151515 0%, #0a0a0a 70%);
}
.hero-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .9;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,.15) 0%,
    rgba(10,10,10,.35) 50%,
    rgba(10,10,10,.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter) clamp(56px, 9vw, 110px);
  width: 100%;
}

.hero-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(240,237,232,.5);
  margin-bottom: clamp(20px, 2.5vw, 36px);
}

.hero-title {
  font-family: var(--font-disp);
  font-size: clamp(60px, 10vw, 152px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -0.04em;
}

.ht-line { display: block; overflow: hidden; }
.ht-line span { display: block; transform: translateY(110%); }
.ht-line em  { font-style: italic; color: rgba(240,237,232,.45); }

.hero-meta {
  position: absolute;
  bottom: clamp(56px, 9vw, 110px);
  right: var(--gutter);
  z-index: 2;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero-meta-name {
  font-family: var(--font-disp);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero-meta-role {
  font-size: 11px;
  color: rgba(240,237,232,.45);
  letter-spacing: .07em;
}

.hero-scroll {
  position: absolute;
  bottom: clamp(56px, 9vw, 110px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: .35;
}
.hero-scroll span {
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  writing-mode: vertical-lr;
}
.hero-scroll-line {
  width: 1px;
  height: 44px;
  background: var(--text);
  animation: scrollPulse 1.8s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  49%  { transform: scaleY(1); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------------------------------------------------------------
   9. MARQUEE
--------------------------------------------------------------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 18px 0;
  display: flex;
}
.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--marquee-distance, 50%))); }
}

/* ---------------------------------------------------------------
   10. SELECTED WORKS (HOME)
--------------------------------------------------------------- */
.works-home { padding: var(--sp) var(--gutter); }

.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

/* First card spans full width */
.work-card:first-child { grid-column: 1 / -1; }
.work-card:first-child .work-card-img { aspect-ratio: 16 / 6; }

.work-card { overflow: hidden; }

.work-card-link { display: block; }

.work-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface);
}
.work-card-img img,
.work-card-img video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.work-card-ph {
  width: 100%; height: 100%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .8s var(--ease);
}
.work-card-ph::after {
  content: 'Project Visual';
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--dim);
}
.work-card:hover .work-card-img img,
.work-card:hover .work-card-img video,
.work-card:hover .work-card-ph { transform: scale(1.04); }

.work-card-info {
  padding: 18px 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(18px, 2vw, 32px);
}

.work-card:not(:first-child) .work-card-info {
  padding-inline: clamp(12px, 1.4vw, 22px);
}

.work-card-meta { display: flex; flex-direction: column; gap: 4px; }
.work-card-num  { font-size: 10px; color: var(--muted); letter-spacing: .12em; }
.work-card-tag  { font-size: 10px; color: var(--muted); letter-spacing: .08em; line-height: 1.35; }
.work-card-title {
  font-family: var(--font-disp);
  font-size: clamp(16px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  text-align: right;
  max-width: 62%;
}

/* ---------------------------------------------------------------
   11. SERVICES (HOME)
--------------------------------------------------------------- */
.services-home {
  padding: var(--sp) var(--gutter);
  border-top: 1px solid var(--border);
}

.services-list { display: flex; flex-direction: column; }

.service-item {
  display: grid;
  grid-template-columns: 56px 1fr 36px;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  cursor: none;
  color: inherit;
  text-decoration: none;
}
.service-item:first-of-type { border-top: 1px solid var(--border); }

.service-num  { font-size: 10px; color: var(--muted); letter-spacing: .12em; }
.service-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.service-title {
  font-family: var(--font-disp);
  font-size: clamp(20px, 2.5vw, 34px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  color: var(--muted);
  transition: color .4s var(--ease);
}
.service-desc { font-size: 13px; color: var(--muted); max-width: 620px; line-height: 1.55; }
.service-arrow {
  font-size: 22px;
  color: var(--muted);
  transform: rotate(-45deg);
  transition: transform .4s var(--ease), color .3s;
  text-align: center;
}
.service-item:hover .service-title  { color: var(--text); }
.service-item:hover .service-arrow  { transform: rotate(0deg); color: var(--text); }

/* ---------------------------------------------------------------
   12. ABOUT STRIP (HOME)
--------------------------------------------------------------- */
.about-strip {
  padding: var(--sp) var(--gutter);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}
.about-strip-text {
  font-family: var(--font-disp);
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  max-width: 760px;
}

/* ---------------------------------------------------------------
   13. CONTACT STRIP (HOME)
--------------------------------------------------------------- */
.contact-strip {
  padding: clamp(60px, 9vw, 130px) var(--gutter);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}
.contact-strip-inner { display: flex; flex-direction: column; gap: 14px; }
.contact-strip-cta {
  font-family: var(--font-disp);
  font-size: clamp(44px, 8vw, 112px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: gap .4s var(--ease);
}
.contact-strip-cta:hover { gap: 28px; }
.cta-arrow { transition: transform .4s var(--ease); display: inline-block; }
.contact-strip-cta:hover .cta-arrow { transform: rotate(-45deg); }

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.contact-links a {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  transition: color .3s;
  overflow-wrap: anywhere;
}
.contact-links a:hover { color: var(--text); }

/* ---------------------------------------------------------------
   14. FOOTER
--------------------------------------------------------------- */
.footer {
  padding: 22px var(--gutter);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: var(--font-disp);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.footer-copy { font-size: 11px; color: var(--muted); }

/* ---------------------------------------------------------------
   15. INNER PAGE HERO
--------------------------------------------------------------- */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 100px));
  padding-bottom: clamp(60px, 8vw, 120px);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  border-bottom: 1px solid var(--border);
}
.page-hero-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}
.page-hero-title {
  font-family: var(--font-disp);
  font-size: clamp(52px, 9vw, 130px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: .93;
}
.page-hero-title em { font-style: italic; color: var(--muted); }

/* ---------------------------------------------------------------
   16. ABOUT PAGE
--------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  padding: var(--sp) var(--gutter);
}
.about-bio {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.8;
  color: rgba(240,237,232,.75);
}
.about-bio p + p { margin-top: 24px; }

.about-sidebar { display: flex; flex-direction: column; gap: 48px; }
.about-block-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.pills li {
  font-size: 12px;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--muted);
}
.tool-list { list-style: none; }
.tool-list li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.tool-list li span:last-child { color: rgba(240,237,232,.5); }

/* ---------------------------------------------------------------
   17. SERVICES PAGE
--------------------------------------------------------------- */
.services-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: var(--sp) var(--gutter);
}
.svc-card {
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background .35s;
}
.svc-card:hover { background: var(--surface); }
.svc-card-num   { font-size: 10px; color: var(--muted); letter-spacing: .12em; }
.svc-card-title {
  font-family: var(--font-disp);
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.svc-card-desc {
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 1.75;
  color: var(--muted);
  flex: 1;
}
.svc-card-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.svc-card-list li {
  font-size: 12px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}
.svc-card-list li::before { content: '—'; position: absolute; left: 0; }

/* ---------------------------------------------------------------
   18. WORKS PAGE
--------------------------------------------------------------- */
.works-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 var(--gutter) clamp(26px, 3vw, 42px);
  margin-top: calc(var(--sp) * -0.45);
}

.works-filter-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}

.works-filter-link:hover,
.works-filter-link.is-active {
  color: var(--text);
  border-color: rgba(240,237,232,.36);
  background: rgba(255,255,255,.045);
}

.works-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 5vw, 64px) var(--gutter);
  padding: 0 var(--gutter) var(--sp);
}
.wpc { overflow: hidden; }
.wpc.is-disabled {
  cursor: default;
}
.wpc-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 18px;
}
.wpc-ph {
  width: 100%; height: 100%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .8s var(--ease);
}
.wpc-ph::after {
  content: 'Project Visual';
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--dim);
}
.wpc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.wpc-img img.is-wip-banner {
  object-position: 0% center;
}
.wpc-img img.is-indicia-banner {
  object-position: 12% center;
}
.wpc:hover .wpc-img img,
.wpc:hover .wpc-ph { transform: scale(1.04); }
.wpc.is-disabled:hover .wpc-img img {
  transform: none;
}
.wpc-tag   { font-size: 10px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.wpc-title {
  font-family: var(--font-disp);
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------------------------------------------------------------
   19. CONTACT PAGE
--------------------------------------------------------------- */
.contact-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
  padding: var(--sp) var(--gutter);
}
.contact-info { display: flex; flex-direction: column; gap: 40px; }
.ci-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ci-value {
  font-family: var(--font-disp);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: opacity .3s;
}
.ci-value:hover { opacity: .55; }

.contact-form { display: flex; flex-direction: column; gap: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  outline: none;
  width: 100%;
  transition: border-color .3s;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--dim); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-bottom-color: var(--text); }
.form-group textarea { height: 110px; resize: none; }
.form-group select option { background: var(--bg); }

/* ---------------------------------------------------------------
   20. WORK DETAIL PAGE
--------------------------------------------------------------- */
.wd-hero {
  padding-top: var(--nav-h);
  height: 70svh;
  min-height: 360px;
  overflow: hidden;
  background: var(--surface);
}
.wd-hero-media { width: 100%; height: 100%; }
.wd-hero-media img,
.wd-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.airbnb-hero-img {
  object-position: center 30%;
}

.take-that-hero-img {
  object-position: center 38%;
}

.deathpixie-visual-hero-img {
  object-position: center 28%;
}

.deathpixie-video-hero-img {
  object-position: center 28%;
}

.bach-socials-hero-img {
  object-position: center 52%;
}

.bach-refonte-hero-img {
  object-position: center 51%;
}

.wd-hero-ph {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wd-hero-ph::after {
  content: 'Project Hero Visual';
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--dim);
}

.wd-info {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--gutter);
  padding: clamp(40px, 5vw, 80px) var(--gutter);
  border-bottom: 1px solid var(--border);
}
.wd-title {
  font-family: var(--font-disp);
  font-size: clamp(36px, 5.5vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: .95;
}
.wd-meta { display: flex; flex-direction: column; gap: 24px; align-self: end; }
.wd-meta-item h5 {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.wd-meta-item p { font-size: 13px; }

.service-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(240,237,232,.28);
  transition: color .25s ease, border-color .25s ease;
}

.service-link:hover {
  color: var(--text);
  border-color: var(--text);
}

.works-filter-note {
  grid-column: 1 / -1;
  margin-bottom: clamp(18px, 2vw, 28px);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.works-filter-note a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(240,237,232,.35);
}

.wd-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--gutter);
  padding: clamp(40px, 5vw, 80px) var(--gutter);
}
.wd-desc {
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.8;
  color: rgba(240,237,232,.75);
}
.wd-desc p + p { margin-top: 20px; }

.wd-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 0 var(--gutter) clamp(60px, 8vw, 120px);

  width: 100%;
  max-width: none;
  margin: 0;
}

.wd-gallery-item {
  aspect-ratio: 9 / 16;
  background: var(--surface);
  overflow: hidden;
}


.wd-gallery-item img,
.wd-gallery-item video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.airbnb-gallery {
  grid-template-columns: 1fr;
  max-width: 1920px;
  margin: 0 auto;
}

.airbnb-video-item {
  aspect-ratio: 16 / 9;
}

.wd-gallery-item video:fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  object-fit: contain !important;
  background: #000;
}

.wd-gallery-item video:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  object-fit: contain !important;
  background: #000;
}

.video-item {
  cursor: pointer;
}

.wd-gallery-ph {
  width: 100%; height: 100%;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
}
.wd-gallery-ph::after {
  content: 'Image';
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--dim);
}

.wd-nav {
  padding: clamp(40px, 5vw, 72px) var(--gutter);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wd-nav-btn { display: flex; flex-direction: column; gap: 7px; }
.wd-nav-btn .wnb-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.wd-nav-btn .wnb-title {
  font-family: var(--font-disp);
  font-size: clamp(16px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: opacity .3s;
}
.wd-nav-btn:hover .wnb-title { opacity: .45; }

.down-arrow {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  opacity: 0.8;
  animation: arrow-bounce 1.4s ease-in-out infinite;
}

.bach-cover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.bach-cover {
  aspect-ratio: 1 / 1;
  background: var(--surface);
  overflow: hidden;
}

.bach-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes arrow-bounce {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}


/* ---------------------------------------------------------------
   21. RESPONSIVE
--------------------------------------------------------------- */
@media (max-width: 900px) {
  .about-grid,
  .contact-body { grid-template-columns: 1fr; }

  .services-detail-grid,
  .works-page-grid { grid-template-columns: 1fr; }

  .wd-info,
  .wd-body { grid-template-columns: 1fr; }

  .wd-gallery { grid-template-columns: 1fr; }

  .about-strip { flex-direction: column; align-items: flex-start; }
  .contact-strip { flex-direction: column; align-items: flex-start; }
  .contact-links { align-items: flex-start; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root { --nav-h: 60px; }

  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .works-grid { grid-template-columns: 1fr; }
  .work-card:first-child { grid-column: 1; }
  .work-card:first-child .work-card-img { aspect-ratio: 4 / 3; }
  .work-card-info {
    padding-inline: 0;
  }
  .work-card:not(:first-child) .work-card-info {
    padding-inline: 0;
  }
  .work-card-title {
    max-width: 58%;
  }

  .service-item {
    grid-template-columns: 40px 1fr 28px;
    gap: 16px;
  }

  .hero-scroll { display: none; }

  .cursor, .cursor-ring { display: none; }
  body, a, button { cursor: auto; }

}
