/* ==========================================================================
   Collection Sei — MV Group x Pininfarina
   ========================================================================== */

:root {
  --color-ink: #14120f;
  --color-black: #0a0a09;
  --color-paper: #ffffff;
  --color-sand: #f6f4f0;
  --color-line: rgba(20, 18, 15, 0.16);
  --color-line-light: rgba(255, 255, 255, 0.4);
  --color-muted: rgba(20, 18, 15, 0.62);
  --color-muted-light: rgba(255, 255, 255, 0.72);

  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 2.6vw, 50px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 12px 20px;
  z-index: 1000;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn--outline {
  border: 1px solid var(--color-line);
  color: var(--color-ink);
  background: transparent;
}
.btn--outline:hover {
  background: var(--color-ink);
  color: var(--color-paper);
  border-color: var(--color-ink);
}

.btn--light {
  border: 1px solid var(--color-line-light);
  color: #fff;
}
.btn--light:hover {
  background: #fff;
  color: var(--color-black);
  border-color: #fff;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background: var(--color-black);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 68%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.hero__top {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(28px, 5vw, 56px) var(--gutter) 0;
}

.hero__logo-link {
  display: inline-block;
  transition: opacity 0.3s var(--ease);
}
.hero__logo-link:hover,
.hero__logo-link:focus-visible {
  opacity: 0.8;
}

.hero__logo {
  width: min(560px, 34vw);
  min-width: 220px;
  height: auto;
  margin: 0 auto;
}

.hero__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--gutter) 0;
}

/* Divider tick hanging below the button, echoing the reference comps */
.hero__tick {
  width: 1px;
  height: clamp(40px, 6vw, 72px);
  background: var(--color-line-light);
  margin-top: clamp(30px, 4.5vw, 46px);
}

/* ==========================================================================
   SECTION 1 — Design Without Precedent
   ========================================================================== */

.intro {
  padding: clamp(56px, 9vw, 108px) var(--gutter) 0;
  width: 100%;
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(200px, 30%) 1fr;
  grid-template-rows: clamp(160px, 14vw, 270px) auto;
  grid-template-areas:
    "label body"
    "cta   body";
  column-gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.intro__label {
  grid-area: label;
  padding-top: 4px;
}

.intro__body {
  grid-area: body;
}

.intro__cta {
  grid-area: cta;
  align-self: start;
}

.intro__body p {
  margin: 0;
  max-width: 1040px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  font-weight: 400;
  color: var(--color-ink);
}

.rule {
  margin: clamp(48px, 8vw, 88px) 0 0;
  border: none;
  border-top: 1px solid var(--color-line);
}

/* ==========================================================================
   SECTION 2 — Pininfarina statement
   ========================================================================== */

.statement {
  padding: clamp(56px, 9vw, 108px) var(--gutter) clamp(64px, 10vw, 120px);
  width: 100%;
}

.statement__headline {
  margin: 0 0 clamp(56px, 8vw, 120px);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.22;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  max-width: 1180px;
}

.statement__headline strong {
  font-weight: 700;
}

.statement__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: clamp(32px, 5vw, 64px) clamp(40px, 6vw, 120px);
}

.statement__foot {
  flex: 1 1 380px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.statement__foot p {
  margin: 0 32px 0 0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--color-ink);
}

.statement__foot .btn {
  margin-top: 32px;
  align-self: flex-start;
}

.statement__media {
  flex: 1 1 480px;
  max-width: 760px;
}

.statement__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: #000;
  color: #fff;
  padding: clamp(40px, 6vw, 64px) var(--gutter) clamp(28px, 4vw, 40px);
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px clamp(20px, 4vw, 56px);
  padding-bottom: clamp(120px, 18vw, 220px);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  width: 100%;
}

.site-footer__social a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  transition: opacity 0.25s var(--ease);
}
.site-footer__social a:hover { opacity: 0.6; }

.site-footer__base {
  width: 100%;
  padding-top: clamp(36px, 5vw, 56px);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
}

.site-footer__brands {
  display: flex;
  align-items: flex-end;
  gap: clamp(28px, 4vw, 56px);
}

.site-footer__mv-link,
.site-footer__pf-link {
  display: inline-block;
  transition: opacity 0.3s var(--ease);
}
.site-footer__mv-link:hover,
.site-footer__mv-link:focus-visible,
.site-footer__pf-link:hover,
.site-footer__pf-link:focus-visible {
  opacity: 0.75;
}

.site-footer__mv-logo {
  height: clamp(92px, 10vw, 138px);
  width: auto;
  mix-blend-mode: lighten;
}

.site-footer__pf-logo {
  height: clamp(16px, 1.5vw, 22px);
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: clamp(6px, 1.2vw, 14px);
}

.site-footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  text-align: right;
}

.site-footer__legal {
  color: var(--color-muted-light);
  font-size: 11.5px;
  line-height: 1.7;
}

.site-footer__legal p { margin: 0; }

.site-footer__legal a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--color-muted-light);
}
.site-footer__legal a:hover { color: #fff; }

.site-footer__credit {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted-light);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

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

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .intro__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "label"
      "body"
      "cta";
    row-gap: 20px;
  }

  .intro__cta {
    padding-top: 12px;
  }

  .intro__body p {
    max-width: 100%;
  }

  .statement__grid {
    flex-direction: column;
  }

  .statement__foot {
    flex: 0 1 auto;
    max-width: 640px;
    justify-content: flex-start;
  }

  .statement__foot .btn {
    margin-top: 32px;
  }

  .statement__media {
    flex: 0 1 auto;
    max-width: 100%;
    margin-top: clamp(32px, 6vw, 56px);
  }

  .site-footer__base {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .site-footer__right {
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }

  .site-footer__legal {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 92svh;
  }

  .hero__logo {
    width: min(320px, 62vw);
    min-width: 180px;
  }

  .hero__top {
    padding-top: 28px;
  }

  .btn {
    padding: 15px 24px;
    font-size: 11px;
  }

  .intro {
    padding-top: 48px;
  }

  .intro__body p {
    font-size: 17px;
  }

  .statement {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .statement__headline {
    font-size: 26px;
  }

  .site-footer__social {
    gap: 16px 28px;
    padding-bottom: 96px;
  }

  .site-footer__brands {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
