/* ─── FONT ─────────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Mona Sans';
  src: url('./fonts/mona-sans-v4-latin-200.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mona Sans';
  src: url('./fonts/mona-sans-v4-latin-200italic.woff2') format('woff2');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Mona Sans';
  src: url('./fonts/mona-sans-v4-latin-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mona Sans';
  src: url('./fonts/mona-sans-v4-latin-300italic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Mona Sans';
  src: url('./fonts/mona-sans-v4-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mona Sans';
  src: url('./fonts/mona-sans-v4-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Mona Sans';
  src: url('./fonts/mona-sans-v4-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mona Sans';
  src: url('./fonts/mona-sans-v4-latin-500italic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Mona Sans';
  src: url('./fonts/mona-sans-v4-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mona Sans';
  src: url('./fonts/mona-sans-v4-latin-600italic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Mona Sans';
  src: url('./fonts/mona-sans-v4-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mona Sans';
  src: url('./fonts/mona-sans-v4-latin-700italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Mona Sans';
  src: url('./fonts/mona-sans-v4-latin-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mona Sans';
  src: url('./fonts/mona-sans-v4-latin-800italic.woff2') format('woff2');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Mona Sans';
  src: url('./fonts/mona-sans-v4-latin-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mona Sans';
  src: url('./fonts/mona-sans-v4-latin-900italic.woff2') format('woff2');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* ─── RESET ─────────────────────────────────────────────────────────────── */

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

/* ─── BASE ──────────────────────────────────────────────────────────────── */

html, body {
  height: 100%;
}

body {
  background-color: #5E0A0C;
  color: #F2E9D9;
  font-family: 'Mona Sans', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ─── ELEMENTI ──────────────────────────────────────────────────────────── */

.group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  margin-bottom: 1rem;
}

.logo {
  height: auto;
  margin-bottom: 3rem;
}

.headline {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 4px;
    line-height: 1.1;
    text-transform: uppercase;
}

.copy {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    line-height: 1.4;
    text-transform: uppercase;
    padding: 1.1rem 0;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.comingsoon {
    margin-bottom: 0;
}

.contact {
  color: #F2E9D9;
  font-family: 'Mona Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact:hover {
  opacity: 0.6;
}

.br-mobile {
  display: none;
}

.br-desktop {
  display: inline;
}

/* ─── PORTRAIT ──────────────────────────────────────────────────────────── */

/* Mobile portrait (≤ 599px) */
@media (orientation: portrait) and (max-width: 599px) {

  body{
    padding: 3rem 1rem;
  }

  html {
    font-size: clamp(13px, 4vw, 16px); /* 15px @ 375px, max 16px → transizione fluida a 600px */
  }

  .logo {
    width: 99%;
    margin-bottom: 3rem;
  }

  .headline {
    font-size: 0.88rem;
  }

  .copy {
    font-size: 0.7rem;
  }

  .contact {
    font-size: 0.7rem;
  }

  .br-mobile {
    display: inline;
  }

  .br-desktop {
    display: none;
  }

  .footer {
    margin-bottom: 3rem;
    gap: 0.65rem;
  }

.group {
    gap: 0.8rem;
    padding-bottom: 1.5rem;
  }
}

/* Tablet portrait (600px – 1023px) */
@media (orientation: portrait) and (min-width: 600px) {

  html {
    font-size: clamp(16px, 2.5vw, 22px); /* 16px @ 600px, cap a ~880px */
  }

  body {
    padding: 3rem 1rem;
  }

  .logo {
    width: clamp(75%, calc(329px + 35.2vw), 90%);
    margin-bottom: 3rem;
  }

  .headline {
    font-size: 0.9rem;
  }

  .copy {
    font-size: 0.7rem;
  }

  .contact {
    font-size: 0.7rem;
  }

  .group {
    gap: clamp(0.8rem, 2vw, 1.4rem);
  }

  .footer {
    margin-bottom: 1rem;
     gap: 0.65rem;
  }

}

/* Tablet portrait grande (≥ 1024px) */
@media (orientation: portrait) and (min-width: 1024px) {

  html {
    font-size: clamp(16px, 1.6vw, 18px); /* 16px @ 1000px, cap a ~1125px */
  }

  .logo {
    width: 75%;
    margin-bottom: 4rem;
  }

  .headline {
    font-size: 1.6rem;
  }

  .copy {
    font-size: 1rem;
  }

  .contact {
    font-size: 1rem;
  }

  .group {
    gap: 1.8rem;
  }

  .footer {
    margin-bottom: 1.5rem;
  }

}

/* ─── LANDSCAPE ─────────────────────────────────────────────────────────── */

/* Desktop e laptop (qualsiasi altezza) */
@media (orientation: landscape) {

  html {
    font-size: clamp(14px, 0.833vw, 22px);
  }

  body {
    justify-content: center;
    gap: 2rem;
  }

  .group {
    flex: none;
  }

  .logo {
    width: 37%;
    min-width: 640px;
  }

  .comingsoon {
    position: static;
  }

}

/* Mobile ruotato (schermo basso) */
@media (orientation: landscape) and (max-height: 500px) {

  html {
    font-size: 1.5vh; /* scala sull'altezza che è il lato corto */
  }

  body {
    gap: 1rem;
    padding: 1.5rem 2rem;
  }

  .logo {
    width: 25%;
    margin-bottom: 1.5rem;
    min-width: 350px;
  }

  .headline {
    font-size: 2rem;
  }

  .copy {
    font-size: 1.4rem;
  }

  .contact {
    font-size: 1.4rem;
  }

  .group {
    gap: 0.6rem;
  }

}
