:root {
  --paper: #f6f2ea;
  --panel: #f8f4ed;
  --ink: #4f0528;
  --body: #1c1c19;
  --wine: #4f0528;
  --line: rgba(79, 5, 40, 0.28);

  --shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  --frame-bg: rgba(237, 230, 218, 0.39);
  --frame-out: 10px;

  --ff: "PT Serif", Georgia, "Times New Roman", serif;

  --site-margin: clamp(1.1rem, 5vw, 4.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  background: var(--paper);
  color: var(--body);
  font-family: var(--ff);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.62;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
::selection {
  background: var(--ink);
  color: var(--paper);
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: 0.8;
  mix-blend-mode: multiply;
}

.u-container {
  width: 100%;
  padding-inline: var(--site-margin);
}
.label {
  font-family: var(--ff);
  font-weight: 400;
  font-size: 0.72rem;
  text-transform: uppercase;
}
.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.ph,
.feature__back,
.feature__front {
  position: relative;
  z-index: 0;
}
.ph::before,
.feature__back::before,
.feature__front::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--frame-out));
  background: var(--frame-bg);
  box-shadow: var(--shadow);
  z-index: -1;
}

.btn-outline {
  display: inline-block;
  border: 1px solid currentColor;
  padding: 0.95rem 2.4rem;
  font-size: 0.7rem;
  transition:
    background-color 0.35s var(--ease),
    color 0.35s var(--ease);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  padding-block: 1.5rem;
  color: var(--ink);
  transition: color 0.4s var(--ease);
}
.nav--light {
  color: #fff;
}
.nav__layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav__side {
  display: flex;
  align-items: center;
}
.nav__side--end {
  justify-content: flex-end;
}
.nav__logo {
  justify-self: center;
  display: block;
  height: clamp(2.6rem, 4vw, 3.4rem);
}
.nav__logo img {
  width: auto;
  height: 100%;
  object-fit: contain;
  transition: filter 0.4s var(--ease);
}
.nav--light .nav__logo img {
  filter: brightness(0) invert(1);
}
.nav__link {
  position: relative;
  padding-bottom: 3px;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 3px;
}
.nav__back-arrow {
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: transform 0.4s var(--ease);
}
.nav__back-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.nav__back:hover .nav__back-arrow,
.nav__back:focus-visible .nav__back-arrow {
  transform: translateX(-5px);
}

.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: #14100e;
}
.hero__slides {
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1.2s var(--ease),
    visibility 1.2s;
}
.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}
.hero__visual {
  position: absolute;
  inset: -8% 0;
  will-change: transform;
}
.hero__visual img {
  filter: grayscale(1) brightness(0.96) contrast(1.02);
  transform: scale(1.06);
}
.hero__slide.is-active .hero__visual img {
  transform: scale(1);
  transition: transform 7s var(--ease);
}
.hero__slide:nth-child(2) .hero__visual img {
  object-position: 50% 42%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(12, 9, 8, 0.28),
    rgba(12, 9, 8, 0.02) 30%,
    rgba(12, 9, 8, 0.34)
  );
}
.hero__foot {
  position: absolute;
  left: 0;
  bottom: clamp(1.6rem, 4vh, 2.6rem);
  z-index: 5;
  color: #fff;
}
.hero__signature {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.hero__nav {
  position: absolute;
  top: 50%;
  right: var(--site-margin);
  transform: translateY(-50%);
  z-index: 5;
}
.hero__nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  align-items: flex-end;
}
.hero__nav-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  color: #fff;
}
.hero__num {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  opacity: 0.5;
  transition: opacity 0.4s var(--ease);
  width: 1.4em;
  text-align: right;
}
.hero__nav-item.is-active .hero__num {
  opacity: 1;
}
.hero__thumb {
  width: 0;
  height: 66px;
  overflow: hidden;
  transition: width 0.6s var(--ease);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.hero__thumb img {
  filter: grayscale(1);
}
.hero__nav-item.is-active .hero__thumb {
  width: 50px;
}

section[data-nav-theme="dark"] {
  background: var(--paper);
  color: var(--body);
}

.editorial {
  padding-block: clamp(4.5rem, 12vh, 9rem);
}
.editorial__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.editorial__media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  grid-template-rows: auto auto;
  gap: clamp(1rem, 2.5vw, 2.4rem);
  align-items: start;
}
.ph--lg {
  grid-row: 1 / 3;
  aspect-ratio: 566 / 698;
}
.ph--sm {
  aspect-ratio: 226 / 279;
  margin-top: clamp(1.5rem, 6vw, 5rem);
}
.ph--md {
  aspect-ratio: 325 / 401;
  align-self: end;
  transform: translateX(-18%);
  width: 118%;
}
@media (min-width: 621px) {
  .ph--md {
    position: absolute;
    z-index: 2;
    left: 38%;
    bottom: -7%;
    width: 44%;
    transform: none;
    align-self: auto;
  }
  .editorial__text {
    position: relative;
    z-index: 3;
  }
}
.editorial__text {
  padding-top: clamp(2rem, 8vw, 7rem);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.wordmark-sm {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  color: var(--ink);
}
.editorial__text p {
  color: var(--body);
  hyphens: auto;
}

.feature {
  padding-block: clamp(2rem, 5vh, 4rem) clamp(3.5rem, 9vh, 7rem);
  overflow: hidden;
}
.feature__stage {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  aspect-ratio: 1180 / 900;
  padding-inline: var(--site-margin);
}
.feature__word {
  position: absolute;
  left: clamp(-0.5rem, 4vw, 5rem);
  top: 76%;
  z-index: 1;
  height: clamp(1.7rem, 3.5vw, 3.2rem);
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  opacity: 0.78;
}
.feature__word img {
  width: auto;
  height: 100%;
  object-fit: contain;
  filter: brightness(0);
}
.feature__back {
  position: absolute;
  left: 7%;
  top: 0;
  width: 42%;
  aspect-ratio: 558 / 688;
  z-index: 2;
}
.feature__back img {
  filter: grayscale(1) contrast(1.02);
}
.feature__front {
  position: absolute;
  right: 3%;
  bottom: 0;
  width: 62%;
  aspect-ratio: 1 / 1;
  z-index: 3;
}
.feature__action {
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  text-align: center;
}

.story {
  --story-pb: clamp(7rem, 18vh, 13rem);
  position: relative;
  padding-block: clamp(3rem, 8vh, 6rem) var(--story-pb);
}
.story__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: start;
  max-width: 1180px;
  margin-inline: auto;
}
.story__col--b {
  grid-column: 2;
}
.story__title {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--body);
  margin-bottom: 1.4rem;
}
.story__subtitle {
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--body);
  margin-bottom: 0.9rem;
}
.story__col p {
  hyphens: auto;
  color: var(--body);
}
.story__col--b p + .story__subtitle {
  margin-top: 1.8rem;
}
.story__collage {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  pointer-events: none;
  z-index: 1;
}
.story__collage-photos {
  position: absolute;
  left: clamp(-4.5rem, -3vw, -1rem);
  bottom: 0;
  width: clamp(600px, 40vw, 740px);
  height: auto;
  transform: translateY(12%) rotate(344deg);
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}
.story__collage-card {
  position: absolute;
  right: clamp(2%, 6vw, 9%);
  bottom: clamp(2.5rem, 8vw, 7rem);
  width: clamp(150px, 15vw, 220px);
  height: auto;
  transform: rotate(7deg);
  box-shadow: var(--shadow);
}

.contact {
  position: relative;
  color: var(--paper);
  padding: clamp(2.4rem, 5vw, 4rem) clamp(1rem, 4vw, 3.4rem) 0;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--wine);
  z-index: 3;
}
.contact__panel {
  position: relative;
  z-index: 5;
  background: var(--panel);
  color: var(--ink);
  padding: clamp(2.4rem, 5vw, 4.4rem) clamp(1.8rem, 5vw, 5rem);
}
.contact__frame {
  --coin: 9.5px;
  --mod: 6.4px;
  --ep: 6.2px;
  --orn-w: 16.52px;
  --orn-h: 10.39px;
  --gap: clamp(0.7rem, 1.4vw, 1.3rem);
  --orn-in: calc(var(--ep) + var(--gap));

  position: absolute;
  inset: var(--gap);
  pointer-events: none;

  background-image:
    url("../svg/cadre-coin-hg.svg"), url("../svg/cadre-coin-hd.svg"),
    url("../svg/cadre-coin-bd.svg"), url("../svg/cadre-coin-bg.svg"),
    url("../svg/bd_et_hg.svg"), url("../svg/hd_et_bg.svg"),
    url("../svg/bd_et_hg.svg"), url("../svg/hd_et_bg.svg");
  background-position:
    left top,
    right top,
    right bottom,
    left bottom,
    left var(--orn-in) top var(--orn-in),
    right var(--orn-in) top var(--orn-in),
    right var(--orn-in) bottom var(--orn-in),
    left var(--orn-in) bottom var(--orn-in);
  background-size:
    var(--coin) var(--coin),
    var(--coin) var(--coin),
    var(--coin) var(--coin),
    var(--coin) var(--coin),
    var(--orn-w) var(--orn-h),
    var(--orn-w) var(--orn-h),
    var(--orn-w) var(--orn-h),
    var(--orn-w) var(--orn-h);
  background-repeat: no-repeat;
}
.contact__frame::before,
.contact__frame::after {
  content: "";
  position: absolute;
}
.contact__frame::before {
  inset: 0 var(--coin);
  background-image:
    url("../svg/cadre-ligne-haut.svg"), url("../svg/cadre-ligne-bas.svg");
  background-position:
    left top,
    left bottom;
  background-size: var(--mod) var(--ep);
  background-repeat: round no-repeat;
}
.contact__frame::after {
  inset: var(--coin) 0;
  background-image:
    url("../svg/cadre-ligne-gauche.svg"), url("../svg/cadre-ligne-droite.svg");
  background-position:
    left top,
    right top;
  background-size: var(--ep) var(--mod);
  background-repeat: no-repeat round;
}
.contact__inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(0.6rem, 2vw, 2rem) clamp(0.4rem, 2.5vw, 2.6rem);
}
.contact__title {
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--ink);
  line-height: 1.15;
}
.contact__sub {
  margin-top: 1rem;
  max-width: 30ch;
  color: var(--ink);
}

.cform {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.4rem);
}
.cform__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.2rem);
}
.cform__field {
  display: flex;
  flex-direction: column;
}
.cform__field label {
  font-size: 0.98rem;
  color: var(--ink);
  margin-bottom: 0.7rem;
}
.cform__field input,
.cform__field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0.35rem 0;
  font-family: var(--ff);
  font-size: 1rem;
  color: var(--ink);
  resize: none;
}
.cform__field textarea {
  line-height: 1.62;
  min-height: calc(2 * 1.62em + 0.7rem);
  max-height: 40vh;
  overflow-y: hidden;
}
.cform__field input:focus-visible,
.cform__field textarea:focus-visible {
  outline: none;
  border-bottom-color: var(--ink);
}
.cform__field input::placeholder,
.cform__field textarea::placeholder {
  color: rgba(79, 5, 40, 0.45);
  font-style: italic;
}
.cform__field input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  color: rgba(79, 5, 40, 0.55);
}
.cform__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  margin-top: 0.4rem;
}
.cform__status {
  font-style: italic;
  color: var(--ink);
  font-size: 0.92rem;
  margin-right: auto;
}
.cform__status.is-error {
  font-style: normal;
  opacity: 0.9;
}
.cform button[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

.grecaptcha-badge {
  visibility: hidden;
}
.cform__recaptcha {
  display: none;
  margin: 0.7rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  opacity: 0.55;
  color: var(--ink);
}
.cform__recaptcha a {
  color: inherit;
  text-decoration: underline;
}

.cform__pot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer {
  --mark-w: 130.5vw;
  --mark-h: calc(var(--mark-w) * 0.44873);
  --mark-top: -10.94vw;
  --foot-cut: 0.5;
  --foot-floor: 5.6rem;
  --foot-h: max(
    calc(var(--mark-top) + var(--mark-h) * var(--foot-cut)),
    var(--foot-floor)
  );

  position: relative;
  background: var(--wine);
  color: var(--paper);
  height: var(--foot-h);
  overflow-x: clip;
  overflow-y: visible;
  display: flex;
  align-items: flex-start;
  padding-top: clamp(0.6rem, 1.1vw, 1.2rem);
}
.footer__mark {
  position: absolute;
  left: 50%;
  top: var(--mark-top);
  width: var(--mark-w);
  transform: translateX(-50%);
  z-index: 4;
  height: calc(var(--foot-h) - var(--mark-top));
  overflow: hidden;
}
.footer__mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.21;
}
.footer__links {
  position: relative;
  z-index: 6;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 5.4vw, 5rem);
}
.footer__col {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  font-style: italic;
}
.footer__col:first-child {
  text-align: right;
}
.footer__col:last-child {
  text-align: left;
}
.footer__col a {
  opacity: 0.9;
  transition: opacity 0.3s;
}
.footer__col a:hover {
  opacity: 1;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .editorial__grid,
  .contact__inner,
  .story__grid {
    grid-template-columns: 1fr;
  }
  .story {
    --story-pb: clamp(3rem, 8vh, 5rem);
  }
  .story__collage {
    display: none;
  }
  .editorial__text {
    padding-top: 0.5rem;
    margin-left: 0;
  }
  .story__col--b {
    grid-column: auto;
    padding-top: 0;
  }
  .feature__stage {
    aspect-ratio: 900 / 980;
  }
  .feature__front {
    width: 74%;
  }
  .feature__back {
    width: 48%;
  }
  .contact__inner {
    gap: 2.4rem;
  }
  .footer {
    --foot-floor: 2.5rem;
  }
  .footer__links {
    gap: clamp(0.9rem, 3.2vw, 2.4rem);
  }
  .footer__col {
    flex-direction: row;
    gap: clamp(0.9rem, 3.2vw, 2.4rem);
    font-size: 0.9rem;
  }
  .footer__col:first-child,
  .footer__col:last-child {
    text-align: center;
  }
}
@media (max-width: 620px) {
  .nav__side--end .nav__link {
    font-size: 0.62rem;
  }
  .editorial__media {
    display: none;
  }
  .cform__row {
    grid-template-columns: 1fr;
  }
  .cform__foot {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 1rem;
  }
  .cform__status {
    margin-right: 0;
    text-align: center;
  }
  .btn-outline {
    text-align: center;
  }
  .footer {
    --foot-floor: 2.4rem;
  }
  .footer__col {
    font-size: 0.8rem;
  }
  .contact {
    padding-top: 6.5rem;
  }
  .hero__nav {
    top: auto;
    bottom: clamp(3.5rem, 9vh, 5rem);
    transform: none;
  }
  .hero__nav-list {
    flex-direction: row;
    gap: 1rem;
  }
  .hero__thumb {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__slide.is-active .hero__visual img {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
