* {
  box-sizing: border-box;
}

html {
  background: var(--color-void-deep);
  color: var(--color-ivory);
  font-family: var(--font-body);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(201, 168, 76, 0.025) 1px, transparent 1px),
    radial-gradient(ellipse at 25% 0%, rgba(74, 44, 110, 0.38), transparent 42%),
    linear-gradient(135deg, var(--color-void-deep) 0%, var(--color-void) 48%, #120818 100%);
  background-size: 84px 84px, 84px 84px, auto, auto;
  color: var(--color-ivory);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(112deg, transparent 0 50%, rgba(74, 44, 110, 0.16) 50.2% 67%, transparent 67.2%),
    linear-gradient(20deg, transparent 0 72%, rgba(201, 168, 76, 0.08) 72.2% 73.2%, transparent 73.4%);
}

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

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

button {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 3px;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--color-champagne), var(--color-prune-bright));
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  border-bottom: 1px solid var(--color-line);
  background: rgba(5, 4, 8, 0.72);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - (var(--layout-gutter) * 2));
  height: 72px;
  margin: 0 auto;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

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

.nav-links a {
  color: rgba(245, 240, 230, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  transition: color var(--duration-fast) ease;
}

.nav-links a:hover {
  color: var(--color-champagne);
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-ivory);
}

.section {
  position: relative;
  width: calc(100% - (var(--layout-gutter) * 2));
  margin: 0 auto;
  padding: var(--space-2xl) 0;
}

.section:not(.hero) {
  isolation: isolate;
}

.section:not(.hero) > * {
  position: relative;
  z-index: 1;
}

.section:not(.hero)::before,
.section:not(.hero)::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.section:not(.hero)::before {
  top: -34px;
  left: clamp(22px, 8vw, 180px);
  width: clamp(160px, 24vw, 420px);
  height: 118px;
  border-bottom: 1px solid rgba(89, 197, 226, 0.48);
  border-left: 1px solid rgba(245, 240, 230, 0.18);
  border-radius: 0 0 0 92px;
  filter: drop-shadow(0 0 14px rgba(89, 197, 226, 0.16));
}

.section:not(.hero)::after {
  top: 82px;
  left: calc(clamp(22px, 8vw, 180px) + clamp(160px, 24vw, 420px) - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-ivory);
  box-shadow:
    0 0 0 4px rgba(89, 197, 226, 0.14),
    0 0 22px rgba(89, 197, 226, 0.52);
}

.section:nth-of-type(even):not(.hero)::before {
  right: clamp(22px, 8vw, 180px);
  left: auto;
  border-right: 1px solid rgba(245, 240, 230, 0.18);
  border-left: 0;
  border-radius: 0 0 92px;
}

.section:nth-of-type(even):not(.hero)::after {
  right: calc(clamp(22px, 8vw, 180px) + clamp(160px, 24vw, 420px) - 4px);
  left: auto;
}

#projets {
  width: calc(100% - var(--layout-gutter));
}

.hero {
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(560px, 1.22fr);
  gap: clamp(22px, 3vw, 58px);
  align-items: center;
  min-height: 100svh;
  padding-top: 104px;
  padding-bottom: 56px;
}

.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--color-champagne);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  content: "";
  background: var(--color-champagne);
}

.hero h1,
.section-title h2 {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.94;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(4.2rem, 9vw, 9.6rem);
}

.hero-lede {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(245, 240, 230, 0.78);
  font-size: clamp(1rem, 2.1vw, 1.35rem);
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-control);
  background: rgba(201, 168, 76, 0.1);
  color: var(--color-ivory);
  font-weight: 800;
  transition: transform var(--duration-fast) var(--ease-cinematic), background var(--duration-fast) ease, color var(--duration-fast) ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--color-champagne);
  color: var(--color-ink);
}

.button.secondary {
  border-color: var(--color-line);
  background: transparent;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin-top: 44px;
}

.metric,
.service-card,
.project-card,
.video-card,
.timeline-item,
.contact-panel,
.visual-tile {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow-premium);
}

.metric {
  min-height: 92px;
  padding: 18px;
}

.metric strong {
  display: block;
  color: var(--color-champagne);
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.hero-stage {
  position: relative;
  min-height: clamp(610px, 70vh, 940px);
}

.hero-interface {
  display: grid;
  align-items: center;
}

.hero-board {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: clamp(14px, 1.15vw, 24px);
  border: 1px solid rgba(201, 168, 76, 0.24);
  border-radius: var(--radius-card);
  background:
    linear-gradient(90deg, rgba(245, 240, 230, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(245, 240, 230, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 20% 20%, rgba(201, 168, 76, 0.16), transparent 26%),
    radial-gradient(circle at 78% 12%, rgba(74, 44, 110, 0.5), transparent 34%),
    rgba(5, 4, 8, 0.74);
  background-size: 38px 38px, 38px 38px, auto, auto, auto;
  box-shadow: var(--shadow-premium), var(--shadow-gold);
}

.hero-board::before {
  position: absolute;
  inset: 10% auto auto -8%;
  width: 44%;
  height: 54%;
  content: "";
  border: 1px solid rgba(201, 168, 76, 0.18);
  transform: rotate(-9deg);
}

.hero-board-top {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.hero-board-top span {
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid rgba(245, 240, 230, 0.12);
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.045);
  color: var(--color-champagne-soft);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.interface-carousel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 8.7;
  border: 1px solid rgba(245, 240, 230, 0.16);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle, rgba(245, 240, 230, 0.12) 1px, transparent 1.6px),
    var(--color-void-deep);
  background-size: 13px 13px, auto;
}

.interface-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 700ms var(--ease-cinematic), transform 900ms var(--ease-cinematic);
}

.interface-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.interface-slide.is-active img {
  animation: heroImageDrift 7200ms var(--ease-cinematic) both;
}

.interface-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.03);
}

.interface-carousel::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    linear-gradient(90deg, rgba(13, 10, 18, 0.22), transparent 30%, rgba(13, 10, 18, 0.34)),
    linear-gradient(180deg, transparent 56%, rgba(13, 10, 18, 0.58));
  pointer-events: none;
}

.interface-thumbs {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.interface-dot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 1px solid rgba(245, 240, 230, 0.14);
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

.interface-dot.is-active {
  border-color: var(--color-champagne);
  box-shadow: var(--shadow-gold);
}

.interface-dot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-wire-card {
  position: absolute;
  right: clamp(8px, 2vw, 30px);
  bottom: clamp(8px, 2vw, 26px);
  z-index: 5;
  width: min(340px, 56%);
  padding: 18px;
  border: 1px solid rgba(201, 168, 76, 0.36);
  border-radius: var(--radius-card);
  background: rgba(5, 4, 8, 0.82);
  box-shadow: var(--shadow-premium);
}

.hero-wire-card strong {
  display: block;
  color: var(--color-champagne);
  font-size: 1.4rem;
}

.hero-wire-card span {
  display: block;
  margin-top: 6px;
  color: rgba(245, 240, 230, 0.72);
  line-height: 1.45;
}

@keyframes heroImageDrift {
  from {
    transform: scale(1.035) translate3d(-1.4%, -1%, 0);
  }

  to {
    transform: scale(1.08) translate3d(1.4%, 1%, 0);
  }
}

.media-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(13, 10, 18, 0), rgba(13, 10, 18, 0.36));
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.5fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}

.section-title h2 {
  font-size: clamp(3rem, 8vw, 6.7rem);
}

.section-title p {
  margin: 0;
  color: rgba(245, 240, 230, 0.72);
  font-size: 1rem;
  line-height: 1.7;
}

.visual-band {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 18px;
}

.visual-tile {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

.visual-tile.large {
  min-height: 540px;
}

.visual-tile img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.visual-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(245, 240, 230, 0.84);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.service-card {
  min-height: 260px;
  padding: 24px;
  transition: transform var(--duration-fast) var(--ease-cinematic), border-color var(--duration-fast) ease;
}

.service-card:hover,
.project-story:hover,
.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.62);
  box-shadow: var(--shadow-premium), var(--shadow-gold);
}

.service-index {
  color: var(--color-champagne);
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
}

.service-card h3,
.project-story h3,
.video-card h3,
.timeline-item h3 {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.05;
}

.service-card p,
.project-story p,
.timeline-item p,
.video-card p {
  color: rgba(245, 240, 230, 0.7);
  line-height: 1.65;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.tag {
  padding: 7px 9px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-full);
  color: var(--color-champagne-soft);
  font-size: 0.72rem;
  font-weight: 800;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-full);
  background: transparent;
  color: rgba(245, 240, 230, 0.74);
  cursor: pointer;
}

.filter.is-active,
.filter:hover {
  border-color: var(--color-champagne);
  color: var(--color-champagne);
}

.project-stories {
  display: grid;
  gap: clamp(28px, 6vw, 76px);
}

.project-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.36fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 120px);
  align-items: center;
  min-height: clamp(560px, 76vh, 860px);
  padding: clamp(24px, 3.2vw, 58px);
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background:
    linear-gradient(112deg, rgba(201, 168, 76, 0.08), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(74, 44, 110, 0.34), transparent 34%),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow-premium);
  transition: transform var(--duration-fast) var(--ease-cinematic), border-color var(--duration-fast) ease, opacity 260ms ease;
}

.project-story:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.36fr);
}

.project-story:nth-child(even) .story-copy {
  order: 2;
}

.project-story::before {
  position: absolute;
  right: -3vw;
  bottom: -7vw;
  z-index: 0;
  content: attr(data-category);
  color: rgba(245, 240, 230, 0.035);
  font-size: clamp(5rem, 15vw, 16rem);
  font-weight: 800;
  line-height: 0.8;
  text-transform: uppercase;
  pointer-events: none;
}

.project-story.is-hidden {
  display: none;
}

.story-copy {
  position: relative;
  z-index: 2;
}

.story-count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-champagne);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.story-count::after {
  width: 44px;
  height: 1px;
  content: "";
  background: var(--color-champagne);
}

.project-story h3 {
  margin-top: 18px;
  font-size: clamp(3.2rem, 8vw, 8.5rem);
  line-height: 0.86;
}

.story-kicker {
  margin: 20px 0 0;
  color: var(--color-champagne-soft);
  font-weight: 800;
  text-transform: uppercase;
}

.story-mosaic {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(58px, 4.25vw);
  grid-auto-flow: dense;
  gap: clamp(12px, 1vw, 18px);
  min-height: clamp(520px, 39vw, 820px);
  padding: clamp(10px, 1.15vw, 18px);
  border: 1px solid rgba(245, 240, 230, 0.1);
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at 18% 8%, rgba(201, 168, 76, 0.1), transparent 26%),
    rgba(245, 240, 230, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-premium);
}

.story-media {
  position: relative;
  display: block;
  overflow: hidden;
  min-width: 0;
  padding: 0;
  isolation: isolate;
  border: 1px solid rgba(245, 240, 230, 0.13);
  border-radius: var(--radius-card);
  background:
    linear-gradient(145deg, rgba(245, 240, 230, 0.16), rgba(245, 240, 230, 0.04)),
    rgba(5, 4, 8, 0.64);
  color: var(--color-ivory);
  cursor: zoom-in;
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 320ms var(--ease-cinematic), border-color 180ms ease, box-shadow 180ms ease;
}

.story-media::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 32%),
    linear-gradient(0deg, rgba(5, 4, 8, 0.3), transparent 48%);
  opacity: 0.74;
  pointer-events: none;
}

.story-media:hover {
  z-index: 4;
  transform: translateY(-6px) scale(1.012);
  border-color: rgba(201, 168, 76, 0.72);
  box-shadow: 0 32px 92px rgba(0, 0, 0, 0.5), var(--shadow-gold);
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
  transform: scale(1.01);
  transition: transform 900ms var(--ease-cinematic), filter 260ms ease;
}

.story-media:hover img {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.06);
}

.story-media span {
  position: absolute;
  right: 10px;
  bottom: 9px;
  z-index: 3;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-control);
  background: rgba(5, 4, 8, 0.72);
  backdrop-filter: blur(10px);
  color: var(--color-champagne-soft);
  font-size: 0.72rem;
  font-weight: 800;
}

.story-media-1 {
  grid-column: 1 / span 7;
  grid-row: 1 / span 6;
}

.story-media-2 {
  grid-column: 8 / span 5;
  grid-row: 1 / span 3;
}

.story-media-3 {
  grid-column: 8 / span 3;
  grid-row: 4 / span 3;
}

.story-media-4 {
  grid-column: 11 / span 2;
  grid-row: 4 / span 3;
}

.story-media-5 {
  grid-column: 1 / span 4;
  grid-row: 7 / span 4;
}

.story-media-6 {
  grid-column: 5 / span 4;
  grid-row: 7 / span 4;
}

.story-media-7 {
  grid-column: 9 / span 4;
  grid-row: 7 / span 4;
}

.story-media-8 {
  grid-column: 1 / span 3;
  grid-row: 11 / span 3;
}

.story-media-9 {
  grid-column: 4 / span 5;
  grid-row: 11 / span 3;
}

.story-media-10 {
  grid-column: 9 / span 4;
  grid-row: 11 / span 3;
}

.story-mosaic[data-count="1"] {
  min-height: clamp(380px, 32vw, 620px);
}

.story-mosaic[data-count="1"] .story-media-1 {
  grid-column: 1 / -1;
  grid-row: 1 / span 8;
}

.story-mosaic[data-count="2"] {
  min-height: clamp(420px, 34vw, 680px);
}

.story-mosaic[data-count="2"] .story-media-1 {
  grid-column: 1 / span 7;
  grid-row: 1 / span 8;
}

.story-mosaic[data-count="2"] .story-media-2 {
  grid-column: 8 / span 5;
  grid-row: 1 / span 8;
}

.story-mosaic[data-count="3"] {
  min-height: clamp(460px, 36vw, 720px);
}

.story-mosaic[data-count="3"] .story-media-1 {
  grid-column: 1 / span 7;
  grid-row: 1 / span 8;
}

.story-mosaic[data-count="3"] .story-media-2 {
  grid-column: 8 / span 5;
  grid-row: 1 / span 4;
}

.story-mosaic[data-count="3"] .story-media-3 {
  grid-column: 8 / span 5;
  grid-row: 5 / span 4;
}

.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--color-panel);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-cinematic);
}

.video-card:hover .media-frame img {
  transform: scale(1.035);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: rgba(245, 240, 230, 0.12);
}

.thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--color-void-soft);
}

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

.card-body {
  padding: 22px;
}

.card-meta {
  color: var(--color-champagne);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  background: rgba(5, 4, 8, 0.92);
  backdrop-filter: blur(18px);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(94vw, 1600px);
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(201, 168, 76, 0.32);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-premium), var(--shadow-gold);
}

.lightbox p {
  margin: 14px 0 0;
  color: var(--color-champagne-soft);
  font-weight: 800;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-control);
  background: rgba(5, 4, 8, 0.82);
  color: var(--color-ivory);
  cursor: pointer;
}

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

.timeline-item {
  padding: 20px;
}

.timeline-item time {
  color: var(--color-champagne);
  font-size: 0.76rem;
  font-weight: 800;
}

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

.video-card {
  overflow: hidden;
  transition: transform var(--duration-fast) var(--ease-cinematic), border-color var(--duration-fast) ease;
}

.video-card .card-body {
  min-height: 214px;
}

.video-stats {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  color: var(--color-muted);
  font-size: 0.8rem;
}

.process {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: var(--color-line);
}

.process-step {
  min-height: 230px;
  padding: 20px;
  background: rgba(13, 10, 18, 0.92);
}

.process-step strong {
  color: var(--color-champagne);
  font-family: var(--font-display);
  font-size: 2.4rem;
}

.process-step h3 {
  margin: 24px 0 0;
  font-size: 1rem;
}

.process-step p {
  color: var(--color-muted);
  line-height: 1.55;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: 18px;
}

.contact-panel {
  padding: clamp(24px, 5vw, 44px);
}

.contact-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-list a,
.contact-list span {
  display: block;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-line);
  color: rgba(245, 240, 230, 0.82);
}

.footer {
  width: calc(100% - (var(--layout-gutter) * 2));
  margin: 0 auto;
  padding: 26px 0 42px;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 0.82rem;
}

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

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration-reveal) var(--ease-cinematic), transform var(--duration-reveal) var(--ease-cinematic);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.parallax-soft {
  transform: translate3d(0, var(--parallax-y, 0), 0);
  will-change: transform;
}

@media (max-width: 980px) {
  :root {
    --layout-gutter: 18px;
  }

  .hero,
  .section-title,
  .visual-band,
  .project-story,
  .project-story:nth-child(even),
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .project-story:nth-child(even) .story-copy {
    order: 0;
  }

  .hero-stage {
    min-height: 540px;
  }

  .hero-board {
    max-width: min(820px, 100%);
    margin: 0 auto;
  }

  .services-grid,
  .videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline,
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --layout-gutter: 16px;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-card);
    background: rgba(5, 4, 8, 0.96);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .section {
    padding: 64px 0;
  }

  .section:not(.hero)::before {
    top: -18px;
    left: 18px;
    width: 44vw;
    height: 70px;
    opacity: 0.6;
  }

  .section:not(.hero)::after {
    top: 49px;
    left: calc(18px + 44vw - 4px);
    opacity: 0.8;
  }

  .section:nth-of-type(even):not(.hero)::before {
    right: 18px;
    left: auto;
  }

  .section:nth-of-type(even):not(.hero)::after {
    right: calc(18px + 44vw - 4px);
    left: auto;
  }

  #projets {
    width: calc(100% - (var(--layout-gutter) * 2));
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero h1 {
    font-size: clamp(4rem, 19vw, 6.5rem);
  }

  .hero-metrics,
  .services-grid,
  .videos-grid,
  .timeline,
  .process {
    grid-template-columns: 1fr;
  }

  .project-story {
    min-height: auto;
    padding: 18px;
  }

  .project-story h3 {
    font-size: clamp(3rem, 17vw, 5.8rem);
  }

  .story-mosaic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(68px, 16vw);
    min-height: auto;
    padding: 10px;
  }

  .story-media-1,
  .story-media-2,
  .story-media-3,
  .story-media-4,
  .story-media-5,
  .story-media-6,
  .story-media-7,
  .story-media-8,
  .story-media-9,
  .story-media-10 {
    grid-column: auto / span 3;
    grid-row: auto / span 3;
  }

  .story-media-1,
  .story-media-4,
  .story-media-7 {
    grid-column: 1 / -1;
    grid-row: auto / span 4;
  }

  .story-mosaic[data-count="1"] .story-media-1,
  .story-mosaic[data-count="2"] .story-media-1,
  .story-mosaic[data-count="2"] .story-media-2,
  .story-mosaic[data-count="3"] .story-media-1,
  .story-mosaic[data-count="3"] .story-media-2,
  .story-mosaic[data-count="3"] .story-media-3 {
    grid-column: 1 / -1;
    grid-row: auto / span 4;
  }

  .hero-stage {
    min-height: 460px;
  }

  .hero-board {
    padding: 12px;
  }

  .hero-board-top {
    grid-template-columns: 1fr;
    margin-bottom: 10px;
  }

  .hero-board-top span {
    min-height: 28px;
    padding: 6px 8px;
    font-size: 0.66rem;
  }

  .interface-carousel {
    aspect-ratio: 4 / 5;
  }

  .interface-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }
}

@media (max-width: 760px) {
  .hero-wire-card {
    right: 18px;
    bottom: 18px;
    width: min(280px, calc(100% - 36px));
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .parallax-soft,
  .project-story,
  .service-card,
  .video-card,
  .button,
  .media-frame img {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

}
