:root {
  --encre: #12151a;
  --encre-douce: #3c4250;
  --os: #f3f0ea;
  --os-2: #e7e2d8;
  --sang: #8d3b32;
  --ligne: rgba(18, 21, 26, 0.14);
  --serif: "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --gutter: clamp(1.15rem, 4vw, 4.5rem);
  --section: clamp(3.8rem, 8vw, 7rem);
  --stack: 4.6rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--os);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.96;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: inherit; }

button, summary { font: inherit; color: inherit; }

:focus { outline: none; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

::selection { background: #e7cfc8; color: var(--encre); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--encre);
  color: var(--os);
  padding: 0.7rem 1rem;
}

.skip:focus { top: 0.7rem; }

.stack { position: sticky; top: 0; z-index: 40; }

.top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--stack);
  padding: 0.55rem var(--gutter);
  background: rgba(243, 240, 234, 0.92);
  border-bottom: 1px solid var(--ligne);
  backdrop-filter: blur(10px);
}

.brand {
  margin-right: auto;
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  line-height: 1;
}

.brand span { font-style: italic; color: var(--sang); }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  font-size: 0.95rem;
}

.nav-desktop a { text-decoration: none; }

.nav-desktop a:hover { color: var(--sang); }

.notice {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--encre-douce);
  white-space: nowrap;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--encre);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-cta:hover { background: var(--encre); color: var(--os); }

.nav-mobile { display: none; }

.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--ligne);
}

.nav-mobile summary::-webkit-details-marker { display: none; }

.nav-mobile nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 5;
  flex-direction: column;
  padding: 0.35rem var(--gutter) 0.9rem;
  background: var(--os);
  border-bottom: 1px solid var(--ligne);
}

.nav-mobile[open] nav { display: flex; }

.nav-mobile a,
.nav-mobile p {
  text-decoration: none;
  padding: 0.8rem 0;
  margin: 0;
  border-bottom: 1px solid var(--ligne);
}

.nav-mobile p {
  font-size: 0.85rem;
  color: var(--encre-douce);
  border-bottom: 0;
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sang);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  background: var(--os);
  color: var(--encre);
  text-decoration: none;
  font-weight: 600;
}

.btn:hover { background: #fff; }

.btn-line {
  background: transparent;
  color: var(--os);
  border: 1px solid rgba(243, 240, 234, 0.55);
}

.btn-line:hover { background: rgba(243, 240, 234, 0.1); color: var(--os); }

section { scroll-margin-top: var(--stack); }

.hero {
  display: grid;
  gap: 1.6rem;
  align-items: end;
  min-height: calc(100svh - var(--stack));
  padding: clamp(1.4rem, 4vw, 3rem) var(--gutter) clamp(1.6rem, 4vw, 3rem);
  background:
    radial-gradient(40% 50% at 80% 20%, rgba(141, 59, 50, 0.22), transparent 60%),
    var(--encre);
  color: var(--os);
}

.hero h1 {
  margin: 0;
  max-width: 13em;
  font-size: clamp(2.05rem, 3.15vw, 3.55rem);
  line-height: 1.02;
}

.hero h1 em {
  font-style: italic;
  color: #e7c2b8;
}

.lede {
  max-width: 36rem;
  margin: 0.85rem 0 0;
  color: rgba(243, 240, 234, 0.82);
  font-size: 1.02rem;
}

.lede + .lede { margin-top: 0.55rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.05rem;
}

.hero-stage {
  position: relative;
  min-height: 16rem;
}

.frame { margin: 0; }

.frame img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.frame figcaption {
  position: absolute;
  left: 0.7rem;
  bottom: 0.6rem;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.frame-wide {
  position: relative;
  width: min(100%, 640px);
  height: min(58vh, 520px);
  margin-left: auto;
  overflow: hidden;
}

.frame-wide img { object-position: 70% 42%; }

.frame-inset {
  position: absolute;
  left: 0;
  bottom: 6%;
  width: min(42%, 250px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 5px solid var(--os);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.frame-inset img { object-position: 70% 30%; }

.frame-wide figcaption {
  top: 0.9rem;
  bottom: auto;
}

.frame-inset figcaption { color: var(--os); }

.collection,
.projeter,
.methode,
.cta { padding: var(--section) var(--gutter); }

.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }

.section-head h2,
.projeter h2,
.methode h2,
.cta h2 {
  margin: 0 0 0.8rem;
  max-width: 18em;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.05;
}

h2 em { font-style: italic; color: var(--sang); }

.section-head p:last-child { margin: 0; max-width: 36rem; color: var(--encre-douce); }

.piece {
  display: grid;
  gap: 1.2rem;
  align-items: end;
  margin-top: clamp(2rem, 5vw, 4rem);
}

.piece figure { margin: 0; overflow: hidden; }

.piece img {
  width: 100%;
  height: min(68vh, 640px);
  max-width: none;
  object-fit: cover;
}

.piece-julie img { object-position: 64% 36%; }

.piece-augustin img {
  height: min(52vh, 460px);
  object-position: 62% 40%;
}

.piece-copy { max-width: 28rem; }

.piece h2 {
  margin: 0;
  max-width: 14em;
  font-size: clamp(1.85rem, 2.8vw, 2.7rem);
  line-height: 1.08;
}

.piece-augustin h2 em { color: #e7c2b8; }

.metier {
  margin: 0.35rem 0 0.8rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
}

.piece-copy p { margin: 0 0 0.8rem; }

.piece-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  font-weight: 700;
  text-underline-offset: 0.28em;
}

.fiction {
  margin-top: 0.2rem !important;
  font-size: 0.88rem;
  color: var(--encre-douce);
}

.piece-augustin {
  background: var(--encre);
  color: var(--os);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  margin-inline: calc(var(--gutter) * -1);
}

.piece-augustin .eyebrow { color: #e7c2b8; }

.piece-augustin .fiction { color: rgba(243, 240, 234, 0.68); }

.piece-augustin .piece-link { color: var(--os); }

.projeter { background: var(--os-2); }

.lead { max-width: 40rem; margin: 0 0 0.85rem; font-size: 1.08rem; }

.lead:last-of-type { margin-bottom: 0; }

.methode ol {
  display: grid;
  gap: 0;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.methode li {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: 0.6rem 1rem;
  align-items: baseline;
  padding: 1.3rem 0;
  border-top: 1px solid var(--ligne);
}

.methode span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--sang);
  line-height: 1;
}

.methode h3 { margin: 0 0 0.25rem; font-size: clamp(1.5rem, 2vw, 2rem); }

.methode p { margin: 0; max-width: 34rem; color: var(--encre-douce); }

.cta {
  background:
    radial-gradient(36% 60% at 90% 0%, rgba(141, 59, 50, 0.18), transparent 62%),
    var(--os);
}

.cta p { max-width: 36rem; margin: 0 0 0.75rem; color: var(--encre-douce); }

.cta p:last-of-type { margin-bottom: 1.35rem; }

.cta .btn {
  min-height: 52px;
  padding: 0.85rem 1.3rem;
  background: var(--encre);
  color: var(--os);
  font-size: 1.05rem;
}

.cta .btn:hover { background: #000; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding: 1.6rem var(--gutter) 2rem;
  background: var(--encre);
  color: rgba(243, 240, 234, 0.78);
  font-size: 0.95rem;
}

footer strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--os);
}

footer p { margin: 0; max-width: 36rem; }

footer a { color: #e7c2b8; }

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1440px) {
  .lede { max-width: 30rem; }
}

@media (min-width: 720px) {
  .methode li:nth-child(2) { padding-left: 6%; }

  .methode li:nth-child(3) { padding-left: 12%; }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 1.08fr);
    align-items: stretch;
    gap: 0;
    padding: 0 0 0 var(--gutter);
  }

  .hero-copy {
    align-self: center;
    padding: clamp(1.5rem, 3vw, 2.8rem) clamp(1.4rem, 3vw, 2.8rem) clamp(1.5rem, 3vw, 2.8rem) 0;
  }

  .hero-stage {
    display: flex;
    align-items: flex-start;
    min-height: calc(100svh - var(--stack));
  }

  .frame-wide {
    width: 100%;
    height: calc(100svh - var(--stack));
    max-height: none;
    margin: 0;
  }

  .frame-inset {
    left: -7%;
    bottom: 9%;
    width: min(34%, 270px);
  }

  .piece-julie {
    grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.75fr);
    gap: 2rem 3rem;
  }

  .piece-augustin {
    grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1fr);
    gap: 2rem 3rem;
    padding-inline: var(--gutter);
  }

  .piece-augustin figure { justify-self: end; width: min(100%, 640px); }
}

@media (max-width: 980px) {
  .nav-desktop,
  .nav-cta,
  .notice { display: none; }

  .nav-mobile { display: block; }
}

@media (max-width: 720px) {
  .hero { min-height: 0; }

  .frame-wide { height: 34vh; width: 86%; }

  .frame-inset { width: 38%; }

  .piece img,
  .piece-augustin img { height: 46vh; }
}

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

  .js .reveal,
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .nav-cta { transition: none; }
}
