@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:wght@500&family=Manrope:wght@400;500;600&display=swap');

:root {
  --mv-black: #080808;
  --mv-black-soft: #0d0d0d;
  --mv-ivory: #f4efe7;
  --mv-muted: rgba(244, 239, 231, .64);
  --mv-faint: rgba(244, 239, 231, .42);
  --mv-line: rgba(244, 239, 231, .16);
  --mv-line-soft: rgba(244, 239, 231, .09);
  --mv-champagne: #b9a47e;
  --mv-max: 1320px;
  --mv-sans: 'Manrope', Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mv-wordmark: 'Libre Bodoni', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--mv-black); }
body {
  margin: 0;
  color: var(--mv-ivory);
  background: var(--mv-black);
  font-family: var(--mv-sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.admin-bar .mv-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.mv-container { width: min(var(--mv-max), calc(100% - 96px)); margin-inline: auto; }
.mv-skip-link { position: fixed; left: 18px; top: -80px; z-index: 999; padding: 10px 14px; background: var(--mv-ivory); color: var(--mv-black); }
.mv-skip-link:focus { top: 18px; }

.mv-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  height: 82px;
  padding-inline: clamp(28px, 4.4vw, 72px);
  color: var(--mv-ivory);
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(0,0,0,.52), transparent);
  transition: height .35s ease, background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.mv-header.is-scrolled {
  height: 68px;
  background: rgba(8,8,8,.86);
  border-color: var(--mv-line-soft);
  backdrop-filter: blur(20px);
}
.mv-header__edition,
.mv-header__access {
  font-size: 10px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.mv-header__edition { justify-self: start; color: var(--mv-muted); }
.mv-header__access {
  justify-self: end;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(244,239,231,.42);
  transition: color .2s ease, border-color .2s ease;
}
.mv-header__access:hover { color: var(--mv-champagne); border-color: var(--mv-champagne); }
.mv-wordmark,
.mv-footer__wordmark {
  font-family: var(--mv-wordmark);
  font-weight: 500;
  letter-spacing: .28em;
  line-height: 1;
}
.mv-wordmark { justify-self: center; font-size: clamp(18px, 1.7vw, 25px); }

.mv-kicker {
  margin: 0 0 22px;
  color: var(--mv-champagne);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.mv-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 27px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.mv-button:hover { transform: translateY(-2px); }
.mv-button--ivory { background: var(--mv-ivory); color: var(--mv-black); }
.mv-button--ivory:hover { background: var(--mv-champagne); }
.mv-button--outline { border-color: rgba(244,239,231,.34); color: var(--mv-ivory); }
.mv-button--outline:hover { border-color: var(--mv-champagne); color: var(--mv-champagne); }

.mv-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: var(--mv-black);
}
.mv-hero__media,
.mv-hero__shade,
.mv-hero__frame { position: absolute; inset: 0; }
.mv-hero__media {
  z-index: -3;
  background: url('../images/mavellori-hero.png') center center / cover no-repeat;
  transform: scale(1.025);
  animation: mvHeroDrift 16s ease-out both;
}
.mv-hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8,8,8,.74) 0%, rgba(8,8,8,.42) 42%, rgba(8,8,8,.10) 71%, rgba(8,8,8,.28) 100%),
    linear-gradient(180deg, rgba(8,8,8,.18) 0%, rgba(8,8,8,.04) 45%, rgba(8,8,8,.82) 100%);
}
.mv-hero__frame {
  z-index: -1;
  inset: 112px clamp(24px, 4vw, 64px) 42px;
  border: 1px solid rgba(244,239,231,.12);
}
.mv-hero__content { padding: 180px 0 118px; }
.mv-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(48px, 6.5vw, 104px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.055em;
}
.mv-hero__copy {
  max-width: 540px;
  margin: 28px 0 34px;
  color: rgba(244,239,231,.74);
  font-size: clamp(14px, 1.15vw, 17px);
}
.mv-hero__foot {
  position: absolute;
  right: clamp(28px, 5vw, 78px);
  bottom: 58px;
  display: flex;
  gap: 34px;
  color: rgba(244,239,231,.52);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.mv-preview { padding: clamp(110px, 12vw, 190px) 0 clamp(120px, 13vw, 210px); background: var(--mv-black); }
.mv-preview__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .55fr);
  column-gap: clamp(48px, 8vw, 136px);
  align-items: end;
  margin-bottom: clamp(64px, 8vw, 116px);
}
.mv-preview__intro .mv-kicker { grid-column: 1 / -1; }
.mv-preview__intro h2 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(38px, 5.2vw, 78px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.05em;
}
.mv-preview__intro > p:last-child { margin: 0 0 7px; color: var(--mv-muted); }
.mv-glimpses {
  display: grid;
  grid-template-columns: .82fr 1.16fr .82fr;
  gap: clamp(14px, 2vw, 30px);
  align-items: center;
}
.mv-glimpse { margin: 0; }
.mv-glimpse--beauty { transform: translateY(48px); }
.mv-glimpse--objects { transform: translateY(-38px); }
.mv-glimpse__image {
  position: relative;
  height: clamp(420px, 49vw, 710px);
  overflow: hidden;
  background: var(--mv-black-soft);
}
.mv-glimpse--beauty .mv-glimpse__image,
.mv-glimpse--objects .mv-glimpse__image { height: clamp(360px, 42vw, 610px); }
.mv-glimpse__image::before,
.mv-glimpse__image::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.mv-glimpse__image::before { background: linear-gradient(180deg, rgba(8,8,8,.06), rgba(8,8,8,.34)); }
.mv-glimpse__image::after { inset: 14px; border: 1px solid rgba(244,239,231,.14); }
.mv-glimpse img {
  height: 100%;
  object-fit: cover;
  filter: blur(5px) saturate(.72) contrast(1.02) brightness(.72);
  transform: scale(1.07);
  transition: transform 1.1s cubic-bezier(.2,.8,.2,1), filter 1.1s ease;
}
.mv-glimpse:hover img { transform: scale(1.095); filter: blur(4px) saturate(.78) contrast(1.04) brightness(.76); }
.mv-glimpse figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--mv-line-soft);
  color: var(--mv-faint);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .21em;
  text-transform: uppercase;
}
.mv-glimpse figcaption strong { color: var(--mv-ivory); font-weight: 500; }

.mv-statement {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--mv-black);
}
.mv-statement__image,
.mv-statement__veil { position: absolute; inset: 0; }
.mv-statement__image {
  z-index: -2;
  background: url('../images/mavellori-brand-editorial.png') center 44% / cover no-repeat;
  filter: saturate(.7) brightness(.63);
  transform: scale(1.02);
}
.mv-statement__veil {
  z-index: -1;
  background: linear-gradient(90deg, rgba(8,8,8,.22) 0%, rgba(8,8,8,.28) 42%, rgba(8,8,8,.88) 72%, rgba(8,8,8,.96) 100%);
}
.mv-statement__content {
  display: flex;
  min-height: 86svh;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: min(54vw, 760px);
}
.mv-statement h2 {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 82px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.05em;
}
.mv-statement__content > p:last-child { max-width: 540px; margin: 28px 0 0; color: var(--mv-muted); }

.mv-invitation {
  position: relative;
  min-height: 74svh;
  display: grid;
  align-items: center;
  background: var(--mv-black);
  overflow: hidden;
}
.mv-invitation::before {
  content: 'M';
  position: absolute;
  right: -3vw;
  bottom: -18vw;
  color: rgba(244,239,231,.022);
  font-family: var(--mv-wordmark);
  font-size: clamp(360px, 48vw, 720px);
  line-height: 1;
  pointer-events: none;
}
.mv-invitation__line { position: absolute; top: 0; left: 6vw; right: 6vw; height: 1px; background: var(--mv-line-soft); }
.mv-invitation__inner { text-align: center; padding: 120px 0; }
.mv-invitation h2 {
  margin: 0;
  font-size: clamp(42px, 6.1vw, 94px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.055em;
}
.mv-invitation__inner > p:not(.mv-kicker) { max-width: 530px; margin: 28px auto 34px; color: var(--mv-muted); }

.mv-footer { border-top: 1px solid var(--mv-line-soft); background: var(--mv-black); }
.mv-footer__inner {
  min-height: 126px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.mv-footer__wordmark { justify-self: start; font-size: 18px; }
.mv-footer__links { display: flex; gap: 30px; font-size: 10px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.mv-footer__links a:hover { color: var(--mv-champagne); }
.mv-footer p { justify-self: end; margin: 0; color: var(--mv-faint); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

.mv-page { min-height: calc(100svh - 126px); padding: 170px 0 110px; background: var(--mv-black); }
.mv-page__inner { max-width: 940px; }
.mv-page h1 {
  max-width: 850px;
  margin: 0 0 54px;
  font-size: clamp(48px, 7vw, 94px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.055em;
}
.mv-page__content { max-width: 720px; padding-top: 32px; border-top: 1px solid var(--mv-line); color: var(--mv-muted); }
.mv-page__content h2, .mv-page__content h3 { color: var(--mv-ivory); font-weight: 500; }
.mv-page__content a:not(.mv-button) { color: var(--mv-ivory); border-bottom: 1px solid var(--mv-line); }
.mv-page__content .mv-button { margin-top: 18px; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@keyframes mvHeroDrift {
  from { transform: scale(1.075); }
  to { transform: scale(1.025); }
}

@media (max-width: 980px) {
  .mv-container { width: min(100% - 54px, var(--mv-max)); }
  .mv-header { padding-inline: 27px; }
  .mv-preview__intro { grid-template-columns: 1fr; row-gap: 28px; }
  .mv-preview__intro > p:last-child { max-width: 580px; }
  .mv-glimpses { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .mv-glimpse--beauty { transform: translateY(28px); }
  .mv-glimpse--objects { transform: translateY(-24px); }
  .mv-statement__content { padding-left: 42vw; }
  .mv-statement__veil { background: linear-gradient(90deg, rgba(8,8,8,.24), rgba(8,8,8,.84) 68%, rgba(8,8,8,.96)); }
}

@media (max-width: 680px) {
  body.admin-bar .mv-header { top: 46px; }
  .mv-container { width: min(100% - 34px, var(--mv-max)); }
  .mv-header { height: 66px; grid-template-columns: 1fr auto; padding-inline: 18px; }
  .mv-header__edition { display: none; }
  .mv-wordmark { justify-self: start; font-size: 17px; letter-spacing: .23em; }
  .mv-header__access { font-size: 8px; letter-spacing: .16em; }
  .mv-hero__frame { inset: 86px 14px 22px; }
  .mv-hero__media { background-position: 58% center; }
  .mv-hero__shade { background: linear-gradient(180deg, rgba(8,8,8,.22) 0%, rgba(8,8,8,.18) 42%, rgba(8,8,8,.90) 100%); }
  .mv-hero__content { padding: 140px 0 104px; }
  .mv-hero h1 { font-size: clamp(46px, 13vw, 68px); }
  .mv-hero__copy { max-width: 88%; margin-top: 22px; }
  .mv-hero__foot { left: 30px; right: 30px; bottom: 38px; justify-content: space-between; gap: 12px; }
  .mv-preview { padding: 100px 0 116px; }
  .mv-preview__intro { margin-bottom: 56px; }
  .mv-preview__intro h2 { font-size: clamp(36px, 11vw, 52px); }
  .mv-glimpses { grid-template-columns: 1fr; gap: 46px; }
  .mv-glimpse--beauty, .mv-glimpse--objects { transform: none; }
  .mv-glimpse__image,
  .mv-glimpse--beauty .mv-glimpse__image,
  .mv-glimpse--objects .mv-glimpse__image { height: min(128vw, 570px); }
  .mv-glimpse img { filter: blur(4px) saturate(.72) brightness(.72); }
  .mv-statement { min-height: 84svh; align-items: end; }
  .mv-statement__image { background-position: 43% center; }
  .mv-statement__veil { background: linear-gradient(180deg, rgba(8,8,8,.14), rgba(8,8,8,.42) 45%, rgba(8,8,8,.96) 82%); }
  .mv-statement__content { min-height: 84svh; justify-content: end; padding: 90px 0 70px; }
  .mv-statement h2 { font-size: clamp(40px, 11vw, 56px); }
  .mv-invitation { min-height: 70svh; }
  .mv-invitation__inner { padding: 100px 0; }
  .mv-invitation h2 { font-size: clamp(42px, 12vw, 62px); }
  .mv-footer__inner { min-height: 164px; grid-template-columns: 1fr auto; padding: 34px 0; }
  .mv-footer__links { justify-self: end; gap: 20px; }
  .mv-footer p { grid-column: 1 / -1; justify-self: start; }
  .mv-page { padding-top: 132px; }
}

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