/* Layout C + Kenzo / Balenciaga intros + column-speed gallery. */
:root {
  --bg: #faf9f6;
  --ink: #221e20;
  --accent: #502e60;
  --divider: #c6c1ba;
  --muted: #8c8680;
  --header-side: 56px;
  --content: 1240px;
  --gutter: 32px;
  --col: 392px;
  --mono: 88px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Montserrat", system-ui, sans-serif;
  overflow-x: clip;
  scrollbar-width: none;
}
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/Jost-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: block;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: block;
}

.fx-caption {
  position: fixed;
  left: 28px;
  bottom: 24px;
  z-index: 80;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #faf9f6;
  text-shadow: 0 1px 2px rgba(0,0,0,.7), 0 2px 12px rgba(0,0,0,.45);
  pointer-events: none;
  opacity: 1;
}

.site-header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: 36px var(--header-side) 0;
  min-height: calc(36px + var(--mono));
}
.site-header .name {
  font-family: "Jost", sans-serif;
  font-size: 41px;
  line-height: 1;
  letter-spacing: 2px;
  height: var(--mono);
  display: flex;
  align-items: center;
  justify-self: start;
  white-space: nowrap;
}
.header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header-center .mono {
  width: auto;
  height: var(--mono);
}
.header-center .mono.is-waiting { visibility: hidden; }
nav.menu {
  margin-top: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: baseline;
}
nav.menu a { padding: 0 2px; }
nav.menu a.on {
  color: var(--accent);
  box-shadow: inset 0 -1px 0 var(--accent);
}
nav.menu .dot {
  color: var(--muted);
  padding: 0 0.55em;
  font-weight: 400;
}
.socials {
  justify-self: end;
  height: var(--mono);
  display: flex;
  align-items: center;
  gap: 34px;
}
.socials .icon { width: 34px; height: 34px; display: block; }
.header-rule {
  width: var(--content);
  max-width: calc(100% - 2 * var(--header-side));
  height: 1px;
  background: var(--divider);
  margin: 22px auto 0;
}

.gallery-wrap {
  width: var(--content);
  max-width: calc(100% - 2 * var(--header-side));
  margin: 0 auto;
  padding: 0 0 120px;
}
.section-head {
  font-family: "Jost", sans-serif;
  font-size: 24px;
  letter-spacing: 3px;
  text-align: center;
  margin: 28px 0 24px;
  font-weight: 400;
}
.masonry {
  display: grid;
  grid-template-columns: repeat(3, var(--col));
  gap: 32px;
  align-items: start;
}
.masonry .col { display: flex; flex-direction: column; gap: 32px; will-change: transform; }
.masonry figure img { width: 100%; height: auto; }
.masonry figcaption {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
  margin-top: 10px;
}
.page-end { height: 80px; }
.hero-spacer { height: 155vh; }

/* ——— Intro hero ——— */
.hero {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: transparent;
  overflow: hidden;
  pointer-events: none;
}
.hero.is-done { visibility: hidden; }
.half {
  position: absolute;
  inset: 0;
  will-change: transform, clip-path;
}
.plate {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: var(--plate-size, cover);
  background-position: var(--plate-pos, center 40%);
  will-change: transform;
}
.plate-bg { background-image: var(--full); }
.plate-fg { background-image: var(--fig); }


.mono-traveler {
  position: fixed;
  left: 0;
  top: 0;
  width: 87px;
  height: 88px;
  z-index: 50;
  pointer-events: none;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  overflow: visible;
  backface-visibility: hidden;
}
.mono-traveler img,
.mono-traveler canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  backface-visibility: hidden;
}
.mono-traveler .mono-outline { opacity: 0; }

.slit-line {
  position: absolute;
  z-index: 4;
  height: 1px;
  background: rgba(250, 249, 246, 0.55);
  pointer-events: none;
  transform-origin: center center;
  will-change: opacity, transform;
}

/* Launch: linked video thumbs, and a mobile stack of the approved 3-column masonry. */
.masonry a.thumb { display: block; color: inherit; }
.masonry figure video { width: 100%; height: auto; display: block; background: #eeece8; }
@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 24px 20px 0;
    min-height: 0;
  }
  .site-header .name {
    font-size: 28px;
    letter-spacing: 1px;
    justify-self: center;
    height: auto;
    white-space: normal;
    text-align: center;
  }
  .header-center, .socials { justify-self: center; }
  .socials { height: auto; margin-top: 16px; gap: 24px; }
  .header-rule { width: auto; margin-left: 20px; margin-right: 20px; }
  .gallery-wrap { width: auto; max-width: 100%; padding: 0 20px 80px; }
  .masonry {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 32px;
  }
  .masonry .col { display: contents; }
}

