/* MonPrunier — Première Collection */

:root {
  --paper: #f3f0ea;
  --paper-2: #e9e5dc;
  --ink: #17181b;
  --ink-soft: #55565b;
  --night: #0d0f13;
  --night-ink: #e9e6df;
  --night-soft: #9a9891;
  --rule: rgba(23, 24, 27, 0.14);
  --plum: #5a3548;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: 40px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.08;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.7rem; }

p { margin: 0 0 1em; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}

.text-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  transition: opacity .3s var(--ease);
}
.text-link:hover { opacity: .65; }

:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--gutter);
  color: var(--night-ink);
  transition: background-color .5s var(--ease), color .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header.is-solid {
  background: rgba(243, 240, 234, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  padding-top: 14px;
  padding-bottom: 14px;
  box-shadow: 0 1px 0 var(--rule);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.brand-mark,
.note-mark,
.footer-mark {
  display: block;
  background-color: currentColor;
  -webkit-mask: url("assets/img/mark.png") center / contain no-repeat;
  mask: url("assets/img/mark.png") center / contain no-repeat;
  aspect-ratio: 432 / 600;
}
.brand-mark { height: 30px; }
.brand-word {
  display: block;
  height: 15px;
  aspect-ratio: 600 / 74;
  background-color: currentColor;
  -webkit-mask: url("assets/img/wordmark.png") center / contain no-repeat;
  mask: url("assets/img/wordmark.png") center / contain no-repeat;
}

.nav { display: flex; gap: clamp(18px, 3vw, 40px); }
.nav a {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: .85;
  transition: opacity .3s;
}
.nav a:hover { opacity: 1; }

@media (max-width: 760px) {
  .nav a:not(:last-child) { display: none; }
  .brand-mark { height: 26px; }
  .brand-word { height: 13px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: #000;
  color: var(--night-ink);
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,0) 70%),
    linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 45%);
}
.hero-copy {
  position: relative;
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(56px, 10vh, 120px);
}
.hero .eyebrow { color: var(--night-soft); }
.hero h1 { max-width: 14ch; }
.hero .lede {
  max-width: 34ch;
  margin: 1.6rem 0 2.4rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(233, 230, 223, .82);
}

@media (max-width: 760px) {
  .hero-video { object-position: 50% 35%; }
  .hero-shade {
    background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.78) 42%, rgba(0,0,0,.2) 75%, rgba(0,0,0,.1) 100%);
  }
}

/* ---------- Note ---------- */

.note {
  padding: clamp(96px, 16vw, 200px) var(--gutter);
}
.note-inner {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}
.note-mark {
  height: 38px;
  margin: 0 auto 36px;
  color: var(--plum);
}
.note h2 { margin-bottom: 1.8rem; }
.note h2 em { font-style: italic; }
.note p { color: var(--ink-soft); font-size: 1.08rem; }
.note .signature {
  margin-top: 2.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.35;
  color: var(--ink);
}

/* ---------- Section heads ---------- */

.section-head {
  max-width: var(--max);
  margin: 0 auto clamp(40px, 6vw, 72px);
}

/* ---------- Collection ---------- */

.collection {
  padding: 0 var(--gutter) clamp(96px, 14vw, 180px);
}
.dials {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
}
.dial { margin: 0; }
.dial-img {
  background: var(--paper-2);
  overflow: hidden;
}
.dial-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.dial:hover .dial-img img { transform: scale(1.035); }
.dial figcaption { padding: 26px 4px 0; }
.dial h3 { display: inline; }
.dial p {
  margin-top: .6rem;
  color: var(--ink-soft);
  font-size: .95rem;
  max-width: 30ch;
}
.swatch {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--sw);
  margin-right: 12px;
  vertical-align: 0.28em;
}
.swatch-light { box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }

@media (max-width: 860px) {
  .dials { grid-template-columns: 1fr; gap: 56px; }
  .dial p { max-width: none; }
}

/* ---------- Bleed ---------- */

.bleed {
  position: relative;
  margin: 0;
  background: var(--night);
  color: var(--night-ink);
}
.bleed img {
  width: 100%;
  height: clamp(420px, 78vh, 860px);
  object-fit: cover;
  object-position: 55% 50%;
}
.bleed figcaption {
  position: absolute;
  left: 0; right: 0; bottom: clamp(32px, 7vw, 80px);
  padding: 0 var(--gutter);
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.25;
}

/* ---------- Details ---------- */

.details {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(96px, 14vw, 180px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.details-sketch {
  background: #fff;
  padding: clamp(10px, 1.6vw, 20px);
  box-shadow: 0 1px 0 var(--rule), 0 30px 60px -40px rgba(0,0,0,.35);
  transform: rotate(-1.2deg);
}
.details-sketch img { width: 100%; height: auto; filter: brightness(1.14) contrast(1.08) grayscale(1); }
.details-copy h2 { margin-bottom: 1.6rem; }
.details-copy > p { color: var(--ink-soft); }

.detail-list {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.detail-list li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: .95rem;
}
.detail-list span {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: .3em;
}

@media (max-width: 860px) {
  .details { grid-template-columns: 1fr; }
  .details-sketch { max-width: 520px; }
}
@media (max-width: 480px) {
  .detail-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Macro video ---------- */

.macro {
  position: relative;
  background: #000;
  color: var(--night-ink);
  overflow: hidden;
}
.macro-video {
  width: 100%;
  height: clamp(320px, 62vh, 720px);
  object-fit: cover;
}
.macro-caption {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(28px, 5vw, 64px);
  margin: 0;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--night-soft);
}

/* ---------- Specification ---------- */

.spec {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(96px, 14vw, 180px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.spec-visual img { width: 100%; height: auto; mix-blend-mode: multiply; }

.spec-card h2 { margin-bottom: 2.2rem; }
.spec-card dl { margin: 0; border-top: 1px solid var(--ink); }
.spec-card dl > div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
}
.spec-card dt {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: .35em;
}
.spec-card dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.3;
  font-variant-numeric: lining-nums;
}
.spec-note {
  margin-top: 2rem;
  font-size: .9rem;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .spec { grid-template-columns: 1fr; }
  .spec-visual { order: 2; }
}
@media (max-width: 480px) {
  .spec-card dl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Contact ---------- */

.contact {
  background: var(--night);
  color: var(--night-ink);
  padding: clamp(110px, 16vw, 200px) var(--gutter);
}
.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.contact .eyebrow { color: var(--night-soft); }
.contact h2 { margin-bottom: 1.4rem; }
.contact p { color: var(--night-soft); }
.contact-email {
  display: block;
  margin: 2.4rem 0 2.6rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.4vw, 2.8rem);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: opacity .3s;
}
.contact-email:hover { opacity: .7; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--night);
  color: var(--night-soft);
  border-top: 1px solid rgba(233, 230, 223, .1);
  padding: 56px var(--gutter) 48px;
  text-align: center;
  font-size: .82rem;
}
.site-footer p { margin: 0 0 .5rem; }
.site-footer a { text-decoration: none; color: var(--night-ink); }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-mark { height: 26px; margin: 0 auto 22px; color: var(--night-ink); opacity: .8; }
.site-footer .fine { margin-top: 1.2rem; font-size: .72rem; letter-spacing: .08em; }

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .details-sketch.reveal.is-in { transform: rotate(-1.2deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .details-sketch.reveal { transform: rotate(-1.2deg); }
  .dial-img img { transition: none; }
}
