:root {
  color-scheme: light;
  --paper: #171311;
  --muted: rgba(23, 19, 17, 0.66);
  --line: rgba(23, 19, 17, 0.22);
  --red: #f20d28;
  --gold: #ffb000;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  background: #f7dfc7;
  color: var(--paper);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.site-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 247, 236, 0.82) 0%, rgba(255, 237, 207, 0.4) 48%, rgba(255, 250, 242, 0.72) 100%),
    url("assets/milano.webp") center 44% / cover no-repeat;
}

.site-shell::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 8% 12%, rgba(242, 13, 40, 0.3), transparent 33%),
    radial-gradient(circle at 92% 82%, rgba(255, 176, 0, 0.4), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), transparent 32%, transparent 68%, rgba(255, 240, 219, 0.48)),
    repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(23, 19, 17, 0.04) 25%);
  pointer-events: none;
}

.site-shell::after {
  position: absolute;
  z-index: 3;
  inset: 12px;
  content: "";
  border: 1px solid rgba(23, 19, 17, 0.16);
  pointer-events: none;
}

.ambient {
  position: absolute;
  z-index: -1;
  width: min(42vw, 680px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.34;
  pointer-events: none;
}

.ambient--red {
  top: -24%;
  left: -12%;
  background: var(--red);
}

.ambient--gold {
  right: -18%;
  bottom: -40%;
  background: var(--gold);
}

.hero {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: clamp(54px, 8vh, 110px) 28px clamp(40px, 6vh, 82px);
}

.hero__content {
  display: flex;
  width: min(100%, 720px);
  flex-direction: column;
  align-items: center;
  animation: reveal 900ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero__logo {
  display: block;
  width: clamp(250px, 36vw, 520px);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(117, 45, 13, 0.17));
}

.status {
  display: grid;
  grid-template-columns: minmax(28px, 76px) auto minmax(28px, 76px);
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  width: min(100%, 500px);
  margin-top: clamp(24px, 4vh, 42px);
}

.status p {
  margin: 0;
  color: var(--paper);
  font-size: clamp(0.76rem, 1.1vw, 0.94rem);
  font-weight: 650;
  letter-spacing: 0.42em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.status__line {
  position: relative;
  height: 1px;
  overflow: visible;
  background: linear-gradient(90deg, transparent, var(--line));
}

.status__line:last-child {
  background: linear-gradient(90deg, var(--line), transparent);
}

.status__line:first-child::after {
  position: absolute;
  top: 50%;
  right: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  content: "";
  transform: translateY(-50%);
  box-shadow: 0 0 18px rgba(242, 13, 40, 0.55);
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  margin: 0 13px 13px;
  padding: 22px clamp(22px, 4vw, 56px);
  border-top: 1px solid rgba(23, 19, 17, 0.12);
  background: rgba(255, 248, 239, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.footer__company {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: clamp(0.64rem, 0.75vw, 0.76rem);
  letter-spacing: 0.075em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer__company strong {
  color: var(--paper);
  font-size: clamp(0.71rem, 0.85vw, 0.84rem);
  font-weight: 650;
  letter-spacing: 0.14em;
}

.footer__brand {
  display: block;
  opacity: 0.72;
  transition: opacity 180ms ease, transform 180ms ease;
}

.footer__brand:hover,
.footer__brand:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.footer__brand:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 7px;
  border-radius: 2px;
}

.footer__brand img {
  display: block;
  width: clamp(116px, 10vw, 150px);
  height: auto;
  filter: brightness(0);
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 700px) {
  .site-shell {
    background-position: 54% center;
  }

  .site-shell::after {
    inset: 8px;
  }

  .hero {
    padding-inline: 24px;
  }

  .hero__logo {
    width: min(77vw, 360px);
  }

  .status {
    width: min(88%, 390px);
  }

  .status p {
    letter-spacing: 0.3em;
  }

  .footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    margin: 0 9px 9px;
    padding: 19px 22px 22px;
    text-align: center;
  }

  .footer__company {
    align-items: center;
  }
}

@media (max-height: 680px) and (min-width: 701px) {
  .hero {
    padding-block: 30px;
  }

  .hero__logo {
    width: min(42vh, 390px);
  }

  .status {
    margin-top: 20px;
  }

  .footer {
    padding-block: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content {
    animation: none;
  }

  .footer__brand {
    transition: none;
  }
}
