@import url("https://cdn.jsdelivr.net/npm/lenis@1.1.20/dist/lenis.css");

/* ── PP Neue Machina ── */
@font-face { font-family: 'PPNeueMachina'; src: url('fonts/PPNeueMachina-PlainLight.otf') format('opentype'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'PPNeueMachina'; src: url('fonts/PPNeueMachina-PlainLightItalic.otf') format('opentype'); font-weight: 300; font-style: italic; }
@font-face { font-family: 'PPNeueMachina'; src: url('fonts/PPNeueMachina-PlainRegular.otf') format('opentype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'PPNeueMachina'; src: url('fonts/PPNeueMachina-PlainRegularItalic.otf') format('opentype'); font-weight: 400; font-style: italic; }
@font-face { font-family: 'PPNeueMachina'; src: url('fonts/PPNeueMachina-PlainUltrabold.otf') format('opentype'); font-weight: 800; font-style: normal; }
@font-face { font-family: 'PPNeueMachina'; src: url('fonts/PPNeueMachina-PlainUltraboldItalic.otf') format('opentype'); font-weight: 800; font-style: italic; }
@font-face { font-family: 'PPNeueMachinaInktrap'; src: url('fonts/PPNeueMachina-InktrapLight.otf') format('opentype'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'PPNeueMachinaInktrap'; src: url('fonts/PPNeueMachina-InktrapRegular.otf') format('opentype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'PPNeueMachinaInktrap'; src: url('fonts/PPNeueMachina-InktrapUltrabold.otf') format('opentype'); font-weight: 800; font-style: normal; }

/* ── Variables ── */
:root {
  --bg: #f5f6ff;
  --ink: #0e0e0c;
  --ink-muted: #888880;
  --ink-faint: #c8c9c0;
  --accent: #0036cc;
  --accent-pale: #5b87e8;
  --border: #0e0e0c;
  --surface-soft: #f6f6fe;
  --font: 'PPNeueMachina', monospace;
  --font-ink: 'PPNeueMachinaInktrap', monospace;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: auto; scrollbar-gutter: stable; }
body { font-family: var(--font); font-weight: 400; background: var(--bg); color: var(--ink); min-height: 100vh; -webkit-font-smoothing: antialiased; cursor: none; }
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: var(--bg); }
html::-webkit-scrollbar-thumb { background: rgba(14, 14, 12, 0.22); border: 3px solid var(--bg); border-radius: 999px; }
html::-webkit-scrollbar-thumb:hover { background: rgba(14, 14, 12, 0.34); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-ink); font-weight: 400; }
a { color: inherit; text-decoration: none; cursor: none; }
button, input, textarea, select, [role="button"] { cursor: none; }
img { display: block; width: 100%; object-fit: cover; }

.site-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 13px;
  height: 13px;
  background: var(--accent);
  z-index: 10000;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) rotate(0deg);
  transition: transform 0.45s cubic-bezier(0.34, 1.35, 0.64, 1), width 0.2s ease, height 0.2s ease, opacity 0.16s ease;
  mix-blend-mode: multiply;
}
.site-cursor.is-clicking {
  width: 15px;
  height: 15px;
  animation: cursor-click-spin 0.52s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes cursor-click-spin {
  from {
    transform: translate3d(-50%, -50%, 0) rotate(0deg) scale(1);
  }
  to {
    transform: translate3d(-50%, -50%, 0) rotate(90deg) scale(0.78);
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-cursor.is-clicking {
    animation: none;
    transform: translate3d(-50%, -50%, 0) rotate(0deg) scale(0.85);
  }
}
@media (hover: none), (pointer: coarse) {
  body, a, button, input, textarea, select, [role="button"] { cursor: auto; }
  .site-cursor { display: none; }
}

/* ── Loading Screen (minimal) ── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.loader-logo {
  font-family: var(--font-ink);
  font-weight: 400;
  font-size: clamp(36px, 7vw, 52px);
  letter-spacing: 0.08em;
  color: var(--ink);
}
.loader-logo span {
  color: var(--ink);
}
.loader-line {
  width: 64px;
  height: 1px;
  background: rgba(14, 14, 12, 0.15);
  position: relative;
  overflow: hidden;
}
.loader-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 35%;
  background: var(--accent);
  animation: loader-min 1.05s ease-in-out infinite;
}
@keyframes loader-min {
  0% {
    transform: translateX(-100%);
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(290%);
    opacity: 0.35;
  }
}
@media (prefers-reduced-motion: reduce) {
  .loader-line::after {
    animation: none;
    width: 100%;
    opacity: 0.25;
    transform: none;
  }
}

/* ── Nav ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 40px;
  border-bottom: 1px solid var(--border);
  position: relative;
  background: #fff;
  z-index: 100;
  gap: 16px;
}
.site-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 110;
  background: #fff;
}
.site-nav-wrap > nav {
  position: static;
  top: auto;
  z-index: auto;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
  transition: color 0.2s ease;
  padding: 14px 22px;
  margin: -14px -22px;
  box-sizing: border-box;
}
.nav-logo:hover {
  color: var(--accent);
}
/* Liste desktop masquée : navigation uniquement via le menu burger */
.nav-links {
  display: none !important;
}
.nav-links a {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 120;
  flex-shrink: 0;
  transition: background 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease, transform 0.2s ease;
}
.nav-burger:hover {
  background: rgba(14, 14, 12, 0.05);
  box-shadow: 0 0 0 1px rgba(14, 14, 12, 0.06);
}
.nav-burger:active {
  transform: scale(0.96);
}
.nav-burger.open {
  background: rgba(14, 14, 12, 0.08);
  border-color: var(--ink);
}
.nav-burger__bar {
  display: block;
  width: 26px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  margin: 0;
  transform-origin: 50% 50%;
  transition:
    transform 0.55s cubic-bezier(0.34, 1.45, 0.64, 1),
    opacity 0.32s ease,
    width 0.35s cubic-bezier(0.34, 1.35, 0.64, 1);
}
.nav-burger.open .nav-burger__bar:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
  width: 28px;
}
.nav-burger.open .nav-burger__bar:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
  width: 28px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 88px 28px 40px;
  clip-path: circle(0% at calc(100% - 64px) 46px);
  transition: clip-path 1.15s cubic-bezier(0.65, 0, 0.35, 1), visibility 0s linear 1.15s;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.open {
  visibility: visible;
  pointer-events: auto;
  clip-path: circle(155% at calc(100% - 64px) 46px);
  transition: clip-path 1.1s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}
.mobile-menu a {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3.5vw, 22px);
  font-family: var(--font-ink);
  font-weight: 400;
  font-size: clamp(0.875rem, 4.5vw, 1.5rem);
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: var(--ink-muted);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.35s ease;
}
.mobile-menu a::before {
  content: "";
  flex-shrink: 0;
  width: clamp(28px, 7vw, 56px);
  height: 1px;
  background: currentColor;
  opacity: 0.45;
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease;
}
.mobile-menu:not(.open) a::before {
  transition-delay: 0s !important;
}
.mobile-menu.open a::before {
  transform: scaleX(1);
}
.mobile-menu.open a:nth-child(1)::before { transition-delay: 0.14s; }
.mobile-menu.open a:nth-child(2)::before { transition-delay: 0.24s; }
.mobile-menu.open a:nth-child(3)::before { transition-delay: 0.34s; }
.mobile-menu.open a:nth-child(4)::before { transition-delay: 0.44s; }
.mobile-menu.open a:nth-child(5)::before { transition-delay: 0.54s; }
.mobile-menu.open a:nth-child(6)::before { transition-delay: 0.64s; }
.mobile-menu.open a:nth-child(7)::before { transition-delay: 0.74s; }
.mobile-menu.open a:nth-child(8)::before { transition-delay: 0.84s; }
.mobile-menu.open a:nth-child(9)::before { transition-delay: 0.94s; }
.mobile-menu:not(.open) a {
  transition-delay: 0s !important;
}
.mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.open a:nth-child(1) { transition-delay: 0.12s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.22s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.32s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.42s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.52s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.62s; }
.mobile-menu.open a:nth-child(7) { transition-delay: 0.72s; }
.mobile-menu.open a:nth-child(8) { transition-delay: 0.82s; }
.mobile-menu.open a:nth-child(9) { transition-delay: 0.92s; }
.mobile-menu a:hover,
.mobile-menu a:focus-visible,
.mobile-menu a.active { color: var(--ink); outline: none; }
.mobile-menu a:hover::before,
.mobile-menu a:focus-visible::before,
.mobile-menu a.active::before {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .nav-burger,
  .nav-burger__bar,
  .mobile-menu,
  .mobile-menu a,
  .mobile-menu a::before {
    transition: none !important;
  }
  .mobile-menu a {
    opacity: 1;
    transform: none;
  }
  .mobile-menu a::before {
    transform: scaleX(1);
    opacity: 0.45;
  }
}

/* ── Footer (industrial) ── */
footer {
  position: relative;
  background: #14151a;
  color: #e4e6ee;
  border-top: none;
  padding: 28px 40px 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 0;
  box-shadow: none;
}
/* No rule between last main block and footer */
main > :last-child {
  border-bottom: none !important;
}
/* Light project block → footer: hatch only, no seam */
main:has(> section.project-next:last-child) + footer,
main:has(section.project-next) + footer {
  box-shadow: none !important;
}
main:has(> section.project-next:last-child) + footer::before,
main:has(section.project-next) + footer::before {
  display: none;
}
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 6px,
    rgba(255, 255, 255, 0.03) 6px,
    rgba(255, 255, 255, 0.03) 7px
  );
}
.footer-copy,
.footer-links {
  position: relative;
  z-index: 1;
}
.footer-copy {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(228, 230, 238, 0.5);
  max-width: 22rem;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
}
.footer-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(228, 230, 238, 0.55);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-links a:hover {
  color: #fff;
  border-bottom-color: rgba(228, 230, 238, 0.55);
}

/* ── Ticker ── */
.ticker {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner { display: inline-flex; gap: 48px; animation: ticker 22s linear infinite; }
.ticker-item { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: #555550; }
.ticker-dot { color: var(--accent); margin-right: 48px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Page fade-in ── */
main { animation: fadein 0.5s ease both; }
@keyframes fadein { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Project detail: Previous/Next block uses page background only, no white stripe */
.project-next {
  background: var(--bg);
  border-top: none;
  border-bottom: none;
  box-shadow: none;
}
.project-next .project-next-actions,
.project-next .project-arrows {
  background: transparent;
}
.project-next .project-next-actions {
  align-items: flex-start !important;
}
.project-next .project-arrows {
  justify-content: flex-start !important;
}
nav.project-arrows {
  position: static;
  top: auto;
  padding: 0;
  border: none;
  background: transparent;
  z-index: auto;
}

/* ── Utility ── */
.eyebrow { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted); }
.rule { border: none; border-top: 1px solid var(--border); }
.page-title-dot,
.accent-punct { color: var(--accent); }

/* ── Title reveal (word-by-word mask slide) ── */
.title-reveal {
  display: flex;
  flex-direction: column;
  gap: 0.14em;
}
.title-reveal__row { display: block; }
.title-reveal__mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-block: 0.1em;
  margin-block: -0.04em;
}
.title-reveal__row .title-reveal__mask + .title-reveal__mask { margin-left: 0.2em; }
.title-reveal__inner {
  display: block;
  transform: translate3d(0, 112%, 0);
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(0.12s + var(--i, 0) * 0.075s);
}
.title-reveal.is-in .title-reveal__inner { transform: translate3d(0, 0, 0); }
h2.title-reveal .title-reveal__inner,
h3.title-reveal .title-reveal__inner {
  transition-duration: 0.95s;
  transition-delay: calc(0.08s + var(--i, 0) * 0.06s);
}
.hero-reveal__mask {
  display: block;
  overflow: hidden;
}
.hero-reveal__inner {
  display: block;
  transform: translate3d(0, 110%, 0);
  opacity: 0.001;
  transition:
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease;
  transition-delay: calc(var(--hero-delay, 0.45s));
}
.hero-copy.is-in .hero-reveal__inner {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}
.hero-copy.is-in .hero-tagline .hero-reveal__inner {
  transition-delay: calc(var(--hero-delay, 0.45s) + 0.38s);
}
@media (prefers-reduced-motion: reduce) {
  .title-reveal__inner,
  .hero-reveal__inner {
    transform: none;
    opacity: 1;
    transition: none;
  }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--bg);
  font-family: var(--font); font-weight: 400; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 14px 28px; border: 1px solid transparent; cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, letter-spacing 0.2s ease;
}
.btn:hover { background: var(--accent); color: #fff; transform: translateY(-2px); letter-spacing: 0.2em; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); letter-spacing: 0.2em; }


/* ── Rotated square cursor ── */
a, button, .btn, [role="button"], input, textarea, select { cursor: inherit !important; }

/* ── Project gallery ── */
.project-intro strong {
  display: block;
  margin-top: 1.15em;
  font-family: var(--font);
  font-style: normal;
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.project-intro strong:first-child { margin-top: 0; }

.project-hero-media {
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: clamp(24px, 5vw, 52px);
  display: block;
}

.project-gallery {
  border-bottom: 1px solid var(--border);
}

/* ── Project gallery lightbox ── */
.project-gallery .project-image {
  cursor: pointer;
}
.project-gallery .project-image:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

/* ── Project gallery: live site link (no lightbox on this tile) ── */
.project-gallery .project-image--external-site {
  cursor: default;
}
.project-gallery .project-image--external-site:focus-visible {
  outline: none;
}
.project-image--external-site {
  position: relative;
}
.project-image--external-site::after {
  content: attr(data-caption);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(242, 242, 242, 0.92);
  color: var(--ink);
  font-family: var(--font-ink);
  font-size: clamp(14px, 1.45vw, 22px);
  line-height: 1.15;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  z-index: 2;
}
.project-image--external-site:hover::after {
  opacity: 1;
  transform: translateY(0);
}
.project-image--external-site a {
  display: block;
  width: 100%;
  height: 100%;
}
.project-image--external-site a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  z-index: 3;
  position: relative;
}
.project-gallery .project-image--external-site img {
  transition: transform 0.35s ease, filter 0.35s ease;
}
.project-gallery .project-image--external-site:hover img {
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.02);
}
.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}
.project-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.project-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 6;
  font-family: var(--font);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  padding: 4px 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  border-radius: 0;
  box-shadow: none;
  transition: color 0.2s ease, background 0.2s ease;
}
.project-lightbox-close:hover,
.project-lightbox-close:focus-visible {
  color: var(--ink);
  background: #fff;
  outline: none;
}
.project-lightbox-inner {
  width: 100%;
  height: 100vh;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.project-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background: #fff;
}
.project-carousel-view {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  flex: 1;
  min-height: 0;
  background: #fff;
}
.project-carousel-track {
  display: flex;
  height: 100%;
  min-height: 0;
  will-change: transform;
}
.project-carousel-slide {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #fff;
  box-sizing: border-box;
}
.project-carousel-visual {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 3vw, 48px);
  background: #fff;
}
.project-carousel-visual img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.project-carousel-meta {
  flex: 0 0 auto;
  min-height: 52px;
  padding: 10px clamp(16px, 2.5vw, 28px) 8px;
  border-top: 0.4px solid var(--border);
  background: #fff;
  font-family: var(--font-ink);
  font-size: clamp(11px, 0.9vw, 14px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}
.project-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-family: var(--font-ink);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  box-shadow: 0 4px 20px rgba(14, 14, 12, 0.08);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.project-carousel-arrow:hover,
.project-carousel-arrow:focus-visible {
  background: #fff;
  color: var(--ink);
  outline: none;
  transform: translateY(-50%) scale(1.04);
}
.project-carousel-arrow--prev {
  left: 10px;
}
.project-carousel-arrow--next {
  right: 10px;
}
.project-carousel-chrome {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 10px 12px 12px;
  background: #fff;
}
.project-carousel-prev,
.project-carousel-next {
  font-family: var(--font-ink);
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  padding: 4px 10px;
  border: none;
  background: transparent;
  color: var(--ink-muted);
  transition: color 0.2s ease;
}
.project-carousel-prev:hover,
.project-carousel-next:hover,
.project-carousel-prev:focus-visible,
.project-carousel-next:focus-visible {
  color: var(--ink);
  outline: none;
}
.project-carousel-count {
  font-size: 10px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  min-width: 2.75rem;
  text-align: center;
}
.project-carousel-count-current {
  color: var(--ink-muted);
}
.project-carousel-count-sep {
  margin: 0 0.12em;
  color: var(--ink-faint);
}


/* ── Bottom CTA ── */
.cta-band { background: #fff; }

/* ── Line reveal (left → right / top → bottom) ── */
.lr-wrap { position: relative; }
.lr-no-top { border-top-color: transparent !important; }
.lr-no-bottom { border-bottom-color: transparent !important; }
.lr-no-left { border-left-color: transparent !important; }
.lr-no-right { border-right-color: transparent !important; }
.lr-bar {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  background: var(--lr-color, var(--border));
}
.lr-bar--top,
.lr-bar--bottom {
  left: 0;
  right: 0;
  height: var(--lr-size, 1px);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.lr-bar--top { top: 0; }
.lr-bar--bottom { bottom: 0; }
.lr-bar--left,
.lr-bar--right {
  top: 0;
  bottom: 0;
  width: var(--lr-size, 1px);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 1.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.lr-bar--left { left: 0; }
.lr-bar--right { right: 0; }
.lr-bar.lr-in { transform: scaleX(1); }
.lr-bar--left.lr-in,
.lr-bar--right.lr-in { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) {
  .lr-bar { transform: none !important; transition: none !important; }
}
