:root {
  --ink: #4b4c4e;
  --muted: #8d8f91;
  --line: #dededb;
  --paper: #f9f9f7;
  --white: #fff;
  --font-display: "ab-sakura", "Yu Gothic", "游ゴシック", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --font-gothic: "Yu Gothic", "游ゴシック", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  letter-spacing: .12em;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open { overflow: hidden; }

main { position: relative; }

a { color: inherit; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #111;
  background: #fff;
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  padding: 30px clamp(24px, 5vw, 80px);
  color: #fff;
  mix-blend-mode: difference;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
}

.brand__name {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 15px;
  letter-spacing: .22em;
}

.brand__note {
  margin-top: 4px;
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .62;
}

.menu-button {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 11px 8px;
  border: 0;
  place-content: center;
  gap: 6px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 23px;
  height: 1px;
  background: currentColor;
  transition: transform .35s var(--ease);
}

.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.site-nav {
  position: fixed;
  z-index: 8;
  inset: 0;
  display: grid;
  padding: clamp(100px, 17vh, 170px) clamp(28px, 12vw, 180px);
  color: #f4f1ea;
  background: rgba(27, 31, 29, .96);
  align-content: center;
  grid-template-columns: minmax(90px, .45fr) 1fr;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.site-nav__label {
  margin: 12px 0 0;
  font-family: Arial, sans-serif;
  font-size: 8px;
  letter-spacing: .25em;
  opacity: .45;
}

.site-nav__links { display: flex; flex-direction: column; }
.site-nav__links a {
  display: flex;
  padding: 15px 0;
  align-items: baseline;
  gap: 24px;
  font-family: Georgia, serif;
  font-size: clamp(26px, 4vw, 58px);
  text-decoration: none;
  letter-spacing: .06em;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-nav__links span { font-family: Arial, sans-serif; font-size: 8px; opacity: .45; }

.hero {
  position: relative;
  min-height: 680px;
  height: min(100svh, 56.25vw);
  overflow: hidden;
  color: #fff;
  background: #667782;
}

.hero__backdrop,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__backdrop {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  animation: hero-in 1.8s var(--ease) both;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(5, 17, 25, .63) 0%, rgba(7, 17, 23, .18) 54%, rgba(5, 11, 15, .18) 100%),
    linear-gradient(0deg, rgba(1, 10, 15, .42), transparent 50%);
}

.hero__copy {
  position: absolute;
  z-index: 2;
  left: clamp(28px, 17vw, 260px);
  bottom: clamp(80px, 16vh, 150px);
  max-width: 480px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  font-family: var(--font-gothic);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(28px, 3.1vw, 52px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: .16em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}

.hero__lead {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 2.25;
  letter-spacing: .18em;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 0 0 7px;
  font-size: 10px;
  text-decoration: none;
  letter-spacing: .16em;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: .5;
  transform-origin: left;
  transition: transform .45s var(--ease);
}

.text-link:hover::after { transform: scaleX(.3); }
.text-link--light { color: #fff; }

.text-link.text-link--light {
  font-family: var(--font-gothic);
  font-size: 12px;
}

.voices {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: clamp(26px, 6vw, 100px);
  width: min(390px, 32vw);
  height: min(640px, calc(100svh - 120px));
  max-height: calc(100svh - 120px);
  padding: 24px 26px 16px;
  color: #64676b;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 28px;
  background: rgba(255,255,255,.91);
  box-shadow: 0 8px 28px rgba(30, 42, 48, .12), 0 1px 4px rgba(30, 42, 48, .08);
  backdrop-filter: blur(13px);
  overflow: hidden;
}

.voices.is-following {
  position: fixed;
  top: 50%;
}

.voices.reveal {
  transform: translateY(calc(-50% + 26px));
}

.voices.reveal.is-visible {
  transform: translateY(-50%);
}

.voices__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 17px;
  color: #8d9197;
  font-family: var(--font-gothic);
  font-size: 10px;
  letter-spacing: .22em;
}

.voices__reel {
  height: calc(100% - 29px);
  overflow: hidden;
}

.voices__track {
  will-change: transform;
}

.voices__track.is-rolling {
  transform: translate3d(0, calc(var(--voice-step) * -1), 0);
  transition: transform .72s var(--ease);
}

.voice {
  display: grid;
  min-height: 68px;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto auto;
  column-gap: 11px;
  row-gap: 4px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(70,70,70,.09);
  align-content: center;
  transition: min-height .42s var(--ease), padding .42s var(--ease);
}

.voice:last-child { border-bottom: 0; }
.voice:nth-child(n + 7) { display: none; }
.voice p {
  grid-column: 2;
  margin: 0;
  font-family: var(--font-gothic);
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: .06em;
  transition: font-size .42s var(--ease), line-height .42s var(--ease);
}

.voice ul {
  display: flex;
  grid-column: 2;
  flex-wrap: wrap;
  gap: 3px 9px;
  margin: 0;
  padding: 0;
  color: #7198b2;
  list-style: none;
  font-family: var(--font-gothic);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: .02em;
  transition: font-size .42s var(--ease);
}

.avatar {
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #bbb center / cover;
  transition: width .42s var(--ease), height .42s var(--ease);
}

.voice.is-active {
  min-height: 176px;
  grid-template-columns: 48px 1fr;
  column-gap: 17px;
  row-gap: 9px;
  padding: 24px 0;
}

.voice.is-active p {
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: .08em;
}

.voice.is-active ul { font-size: 11px; }

.voice.is-active .avatar {
  width: 48px;
  height: 48px;
}

.avatar--1 { background-image: url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=80&q=70"); }
.avatar--2 { background-image: url("https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=80&q=70"); }
.avatar--3 { background-image: url("https://images.unsplash.com/photo-1534528741775-53994a69daeb?auto=format&fit=crop&w=80&q=70"); }
.avatar--4 { background-image: url("https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?auto=format&fit=crop&w=80&q=70"); }
.avatar--5 { background-image: url("https://images.unsplash.com/photo-1544005313-94ddf0286df2?auto=format&fit=crop&w=80&q=70"); }
.avatar--6 { background-image: url("https://images.unsplash.com/photo-1531123897727-8f129e1688ce?auto=format&fit=crop&w=80&q=70"); }
.avatar--7 { background-image: url("https://images.unsplash.com/photo-1508214751196-bcfd4ca60f91?auto=format&fit=crop&w=80&q=70"); }
.avatar--8 { background-image: url("https://images.unsplash.com/photo-1501196354995-cbb51c65aaea?auto=format&fit=crop&w=80&q=70"); }

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-gothic);
  font-size: 10px;
  text-decoration: none;
  letter-spacing: .25em;
  transform: rotate(90deg);
  transform-origin: right center;
}

.scroll-cue i { display: block; width: 45px; height: 1px; background: currentColor; }

.section-shell {
  position: relative;
  min-height: 820px;
  padding: 150px max(7vw, 32px) 140px max(23vw, 160px);
  overflow: hidden;
  background: var(--paper);
}

.vertical-label {
  position: absolute;
  top: 150px;
  left: max(11vw, 45px);
  display: flex;
  margin: 0;
  align-items: center;
  gap: 10px;
  color: #8b8c8e;
  font-family: var(--font-gothic);
  font-size: 10px;
  letter-spacing: .22em;
  writing-mode: vertical-rl;
}

.vertical-label::after { width: 1px; height: 22px; background: #b5b6b7; content: ""; }
.vertical-label span { color: #c6c6c4; }

.editorial__body { max-width: 570px; }
.section-kicker { color: #a5a6a5; }

.editorial h2,
.section-intro h2,
.feature h2 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .16em;
}

.editorial__text { margin-top: 60px; }
.editorial__text p {
  margin: 0 0 30px;
  color: #747679;
  font-family: var(--font-gothic);
  font-size: 14px;
  line-height: 2.25;
  letter-spacing: .2em;
}

.makers,
.moments {
  display: grid;
  min-height: 700px;
  grid-template-columns: minmax(160px, .65fr) minmax(0, 2fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: center;
  padding-top: 120px;
  padding-right: 0;
  padding-bottom: 120px;
}

.section-intro { align-self: center; }
.section-intro h2 { margin-bottom: 30px; }
.section-intro > p:last-child {
  margin: 0;
  color: #77797b;
  font-family: var(--font-gothic);
  font-size: 14px;
  line-height: 2.1;
}

.rail-wrap { min-width: 0; }

.rail {
  display: flex;
  gap: 16px;
  padding-right: 8vw;
  overflow-x: auto;
  cursor: grab;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.rail:active { cursor: grabbing; }
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline: 1px solid #999; outline-offset: 7px; }

.portrait-card,
.moment-card {
  position: relative;
  flex: 0 0 clamp(210px, 20vw, 310px);
  aspect-ratio: .68;
  overflow: hidden;
  border-radius: 9px;
  background: #8b8b87 center / cover no-repeat;
  scroll-snap-align: start;
  text-decoration: none;
  transition: transform .6s var(--ease), filter .6s var(--ease);
}

.portrait-card:hover,
.moment-card:hover { transform: translateY(-7px); }

.portrait-card--one { background-image: url("../images/artisans/image_savart.png"); }
.portrait-card--two { background-image: url("../images/artisans/image_chartogne_taillet.png"); }
.portrait-card--three { background-image: url("../images/artisans/image_dehours.png"); }
.portrait-card--four { background-image: url("../images/artisans/image_pierre_paillard.png"); }
.portrait-card__scrim { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.76)); }

.portrait-card__caption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  color: #fff;
}

.portrait-card__caption h3 { margin: 0 0 4px; font-size: 14px; font-weight: 400; letter-spacing: .04em; }
.portrait-card__caption p {
  margin: 0;
  font-family: var(--font-gothic);
  font-size: 10px;
  opacity: .75;
}

.rail-controls {
  display: flex;
  width: min(360px, 70%);
  align-items: center;
  gap: 13px;
  margin-top: 23px;
  font-family: var(--font-gothic);
}

.rail-controls button {
  padding: 3px;
  color: #8c8e90;
  border: 0;
  background: none;
  cursor: pointer;
}

.rail-controls span { position: relative; width: 100%; height: 1px; background: #dbdbd8; }
.rail-controls i {
  position: absolute;
  width: 28%;
  height: 1px;
  background: #777;
  transform-origin: left;
  transition: transform .25s linear;
}

.moments { min-height: 640px; padding-top: 90px; }

.moment-card { aspect-ratio: .76; }
.moment-card--one { background-image: url("../images/artisans/moment-jp-acidity.png"); }
.moment-card--two { background-image: url("../images/artisans/moment-jp-first-sip.png"); }
.moment-card--three { background-image: url("../images/artisans/moment-brice-reference.png"); }
.moment-card--four { background-image: url("../images/artisans/moment-paillard-reference.png"); }
.moment-card::after { position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(15,10,7,.75)); content: ""; }

.moment-card__caption {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 20px;
  left: 18px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  color: #fff;
}

.moment-card__caption span { font-family: var(--font-gothic); font-size: 10px; opacity: .6; }
.moment-card__caption p {
  margin: 0;
  font-family: var(--font-gothic);
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: .1em;
}

.features { background: #201a17; }

.feature {
  position: relative;
  display: grid;
  min-height: 500px;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: center;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.3);
  isolation: isolate;
}

.feature::before,
.feature::after { position: absolute; inset: 0; content: ""; }

.feature::before {
  z-index: -2;
  background: center / cover no-repeat;
  transform: scale(1.025);
  transition: transform 1.2s var(--ease);
}

.feature:hover::before { transform: scale(1.075); }
.feature::after { z-index: -1; background: linear-gradient(90deg, rgba(20,9,4,.9), rgba(21,12,8,.48) 58%, rgba(8,9,7,.22)); }
.feature--one::before { background-image: url("../images/artisans/feature-pierre-paillard.png"); }
.feature--two::before { background-image: url("../images/artisans/feature-brice.png"); }

.feature__content {
  z-index: 1;
  width: min(680px, 80%);
  margin-left: max(12vw, 70px);
}

.feature__content .section-kicker { margin-bottom: 12px; color: rgba(255,255,255,.65); }
.feature h2 { margin-bottom: 20px; font-size: clamp(24px, 2.4vw, 40px); }
.feature__content > p:not(.section-kicker) {
  margin: 0 0 24px;
  color: rgba(255,255,255,.72);
  font-family: var(--font-gothic);
  font-size: 14px;
  line-height: 2;
}

.feature__credit {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin: 0 0 24px;
  color: rgba(255,255,255,.68);
  font-family: var(--font-gothic);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .16em;
}

.feature__credit a {
  color: inherit;
  text-decoration-color: rgba(255,255,255,.38);
  text-underline-offset: 4px;
  transition: color .25s ease, text-decoration-color .25s ease;
}

.feature__credit a:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.footer {
  display: flex;
  min-height: 360px;
  padding: 100px max(8vw, 40px) 50px;
  align-items: flex-end;
  justify-content: space-between;
  color: rgba(255,255,255,.74);
  background: #444;
}

.footer > div > p:last-child {
  margin: 18px 0 0;
  font-family: var(--font-gothic);
  font-size: 12px;
}
.footer__copy { margin: 0; font-family: var(--font-gothic); font-size: 10px; letter-spacing: .18em; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes hero-in {
  from { opacity: .45; transform: scale(1.1); }
  to { opacity: 1; transform: scale(1.02); }
}

@media (max-width: 860px) {
  .site-header { padding: 22px 20px; }
  .hero { min-height: 680px; height: 92svh; }
  .hero__backdrop { object-position: center; }
  .hero__shade { background: linear-gradient(0deg, rgba(3,13,18,.8), rgba(7,17,22,.05) 75%); }
  .hero__copy { left: 28px; bottom: 58px; }
  .voices { display: none; }
  .scroll-cue { display: none; }
  .section-shell { min-height: auto; padding: 100px 26px 100px 78px; }
  .vertical-label { top: 102px; left: 29px; }
  .editorial__text { margin-top: 44px; }
  .makers, .moments { display: block; padding-right: 0; }
  .makers .section-intro, .moments .section-intro { margin: 0 26px 52px 0; }
  .rail { gap: 10px; padding-right: 26px; }
  .portrait-card, .moment-card { flex-basis: clamp(200px, 64vw, 280px); }
  .rail-controls { width: calc(100% - 26px); }
  .feature { min-height: 440px; grid-template-columns: 1fr minmax(155px, .42fr); }
  .feature__content { width: auto; margin-left: 40px; }
}

@media (max-width: 540px) {
  .site-nav { grid-template-columns: 1fr; align-content: center; }
  .site-nav__label { margin: 0 0 26px; }
  .hero { min-height: 640px; }
  .hero__copy { right: 24px; left: 24px; }
  .hero h1 { font-size: 26px; }
  .section-shell { padding-left: 66px; }
  .vertical-label { left: 22px; }
  .editorial h2, .section-intro h2 { font-size: 21px; }
  .editorial__text p { letter-spacing: .14em; }
  .feature { min-height: 490px; grid-template-columns: 1fr 112px; }
  .feature__content { z-index: 2; width: calc(100vw - 65px); margin-left: 25px; align-self: center; }
  .feature h2 { font-size: 20px; }
  .feature__content > p:not(.section-kicker) { max-width: 72%; }
  .footer { min-height: 280px; padding: 65px 25px 35px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
