@font-face {
  font-family: "Helvetica Now";
  src: url("assets/HelveticaNowText-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #f5f5f2;
  --muted: rgba(245, 245, 242, 0.68);
  --line: rgba(245, 245, 242, 0.32);
  --accent: #ffffff;
  --panel: #080808;
  font-family: "Helvetica Now", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--panel);
  color: var(--ink);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--panel);
}

body { overflow: hidden; }

a { color: inherit; }

button,
input { font: inherit; }

[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -4rem;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #000;
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(68vw, 70rem);
  padding: 1.35rem 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.site-header a { pointer-events: auto; }

.site-identity {
  display: grid;
  justify-items: start;
  gap: 0.65rem;
}

.brand img {
  display: block;
  width: clamp(9rem, 13vw, 13.5rem);
  height: auto;
  filter: brightness(0) invert(1);
}

.social-platforms {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.85rem, 1.7vw, 1.7rem);
  min-width: 0;
  pointer-events: auto;
}

.site-nav a {
  position: relative;
  padding: 0.4rem 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(0.72rem, 0.9vw, 0.88rem);
  letter-spacing: 0.045em;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: #fff;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active { color: #fff; }

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after { transform: scaleX(1); }

.social-platforms a,
.platforms a {
  display: grid;
  width: 1.3rem;
  height: 1.3rem;
  place-items: center;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 180ms ease, transform 180ms ease;
}

.social-platforms a:hover,
.social-platforms a:focus-visible,
.platforms a:hover,
.platforms a:focus-visible { opacity: 1; transform: translateY(-1px); }

.social-platforms img,
.platforms img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.projects {
  height: 100dvh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
}

.projects::-webkit-scrollbar { display: none; }

.project {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100dvh;
  align-items: flex-end;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #0a0a0a;
}

.video-poster,
.video-layer,
.project--image::before,
.veil {
  position: absolute;
  inset: 0;
}

.video-poster {
  z-index: -4;
  background: #111 center / cover no-repeat;
  transform: scale(1.02);
}

.video-poster--heliodore {
  background-image: url("https://i.ytimg.com/vi/dVdy1ELIjEI/maxresdefault.jpg");
}

.video-layer {
  z-index: -3;
  left: 50%;
  top: 50%;
  width: max(100vw, 177.78vh);
  height: max(100vh, 56.25vw);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.video-layer iframe { width: 100%; height: 100%; }

.project--image::before {
  content: "";
  z-index: -3;
  background-position: center;
  background-size: cover;
  transform: scale(1.035);
  transition: transform 1.4s cubic-bezier(.2,.65,.2,1);
}

.project.is-current.project--image::before { transform: scale(1); }
.project--fondations::before { background-image: url("assets/fondations.jpg"); }
.project--piano::before { background-image: url("assets/piano-systeme.png"); }
.project--carnets::before { background-image: url("assets/carnets.png"); }
.project--geometries::before { background-image: url("assets/geometries.jpg"); }

.veil {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0,0,0,.24) 0%, rgba(0,0,0,.05) 42%, rgba(0,0,0,.8) 100%),
    linear-gradient(90deg, rgba(0,0,0,.25), transparent 52%);
}

.project-content {
  width: min(68vw, 70rem);
  margin: 0 auto;
  padding: 8rem 0 clamp(3.7rem, 10vh, 7rem);
}

.project h1,
.project h2 {
  max-width: none;
  margin: 0;
  font-family: "Helvetica Now", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(2.8rem, 5.4vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.94;
  white-space: nowrap;
}

.project-credit {
  margin: 1rem 0 0;
  font-size: clamp(0.9rem, 1.3vw, 1.2rem);
  color: var(--muted);
}

.project-actions {
  display: flex;
  align-items: center;
  gap: 1.3rem 2rem;
  margin-top: clamp(1.8rem, 4vh, 3rem);
}

.listen {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border: 1px solid rgba(255,255,255,.78);
  background: rgba(0,0,0,.1);
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: background 180ms ease, color 180ms ease;
}

.listen:hover,
.listen:focus-visible { background: #fff; color: #050505; }

.platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.platforms a {
  width: 1.45rem;
  height: 1.45rem;
}

.sound-toggle {
  position: absolute;
  z-index: 5;
  right: clamp(1.2rem, 3vw, 3rem);
  bottom: clamp(4rem, 9vh, 6rem);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(0,0,0,.3);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.sound-icon { font-size: 1.3rem; }
.sound-label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

.next-project {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 1rem;
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  transform: translateX(-50%);
  text-decoration: none;
  font-size: 1.25rem;
  animation: drift 2.2s ease-in-out infinite;
}

.next-project--top { animation: none; }

.project-nav {
  position: fixed;
  z-index: 20;
  right: clamp(0.8rem, 2vw, 2rem);
  top: 50%;
  display: grid;
  gap: 0.8rem;
  transform: translateY(-50%);
}

.project-dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 50%;
  background: transparent;
  transition: background 180ms ease, transform 180ms ease;
}

.project-dot.is-active { background: #fff; transform: scale(1.15); }

.page-view {
  height: 100dvh;
  overflow-y: auto;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.06), transparent 30rem),
    #080808;
}

.page-shell {
  width: min(68vw, 70rem);
  min-height: 100%;
  margin: 0 auto;
  padding: clamp(11rem, 22vh, 14rem) 0 5rem;
}

.page-intro { margin-bottom: clamp(2rem, 5vh, 4rem); }

.card-date,
.status-label {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-intro h1,
.page-shell--statement h1,
.feature-copy h1 {
  margin: 0;
  font-size: clamp(2.75rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.empty-card,
.event-card,
.newsletter-card,
.product-card {
  min-height: 15rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}

.empty-card h2,
.event-card h2,
.newsletter-card h2,
.connection-card h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.empty-card > p:last-child,
.event-card > p,
.newsletter-card > p,
.connection-card > p:last-child {
  max-width: 36rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.card-links a,
.newsletter-card a {
  text-underline-offset: 0.25rem;
}

.status-label {
  display: inline-block;
  padding: 0.42rem 0.6rem;
  border: 1px solid var(--line);
}

.store-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.shopify-product { min-width: 0; }

.store-message {
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.event-venue {
  max-width: 36rem;
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.archive-card {
  min-height: 15rem;
}

.archive-card .card-links {
  margin-top: 1.7rem;
}

.archive-card .card-links a {
  text-underline-offset: 0.25rem;
}

.product-card { padding: 0; }

.product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #121212;
}

.product-card__copy { padding: 1.2rem; }

.product-card__copy h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.product-card__copy p { margin: 0.55rem 0 0; color: var(--muted); }

.product-card a { text-decoration: none; }

.page-shell--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.signup-panel {
  align-self: start;
  padding: clamp(1.5rem, 3.5vw, 3rem);
  border: 1px solid var(--line);
}

.signup-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: .98;
}

.signup-panel > p {
  margin: 1.35rem 0 2.5rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.signup-panel label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
}

.signup-row { display: flex; }

.signup-row input {
  width: 100%;
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: #fff;
}

.signup-row input:focus { border-color: #fff; }

.signup-row button,
.primary-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border: 1px solid #fff;
  border-radius: 0;
  background: #fff;
  color: #080808;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.form-message {
  min-height: 1.3rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.archive-list { display: grid; gap: 1rem; }

.page-shell--feature {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, .6fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.video-embed {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.feature-copy > p {
  margin: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6;
}

.page-shell--statement {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 10rem;
}

.statement {
  max-width: 54rem;
  margin: clamp(2rem, 5vh, 4rem) 0 2.5rem;
  color: rgba(255,255,255,.82);
  font-size: clamp(1.35rem, 2.5vw, 2.5rem);
  letter-spacing: -0.025em;
  line-height: 1.28;
}

.page-shell--statement .primary-button { align-self: flex-start; }

@keyframes drift {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 0.38rem); }
}

@media (max-width: 700px) {
  .site-header,
  .project-content,
  .page-shell { width: calc(100% - 2.5rem); }
  .site-header {
    display: grid;
    align-items: flex-start;
    gap: 0.75rem;
    padding-top: 1rem;
  }
  .site-identity { gap: 0.5rem; }
  .brand img { width: 9rem; }
  .social-platforms { gap: 0.52rem; }
  .social-platforms a { width: 1.1rem; height: 1.1rem; }
  .project-content { padding-bottom: 5.8rem; }
  .project h1,
  .project h2 { font-size: clamp(2rem, 8.4vw, 4.25rem); }
  .project-actions { align-items: flex-start; flex-direction: column; }
  .platforms { max-width: 17rem; }
  .sound-toggle { right: 1rem; bottom: 1rem; }
  .next-project { left: 1.35rem; bottom: 1rem; transform: none; }
  .next-project--top { transform: none; }
  .project-nav { display: none; }
  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 1.2rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { flex: 0 0 auto; font-size: 0.78rem; }
  .page-shell { padding-top: 12rem; }
  .page-intro h1,
  .page-shell--statement h1,
  .feature-copy h1 { font-size: clamp(2.5rem, 11vw, 3.75rem); }
  .card-grid,
  .store-grid,
  .page-shell--split,
  .page-shell--feature { grid-template-columns: 1fr; }
  .empty-card,
  .event-card,
  .newsletter-card,
  .product-card { min-height: 12rem; }
  .signup-row { display: grid; }
  .signup-row input { min-height: 3.2rem; border-right: 1px solid var(--line); border-bottom: 0; }
  .page-shell--feature { align-content: start; }
  .feature-copy { padding-bottom: 2rem; }
  .page-shell--statement { padding-top: 12rem; }
  @keyframes drift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(.35rem); } }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
