:root {
  --paper: #f4ebdf;
  --paper-light: #fbf7f0;
  --ink: #163847;
  --ink-soft: #536a70;
  --terracotta: #a95137;
  --gold: #9f8764;
  --line: rgba(22, 56, 71, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 13% 10%,
      rgba(255, 255, 255, 0.82),
      transparent 29%
    ),
    radial-gradient(
      circle at 86% 82%,
      rgba(169, 81, 55, 0.07),
      transparent 25%
    ),
    linear-gradient(
      135deg,
      var(--paper-light),
      var(--paper)
    );

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;

  opacity: 0.14;

  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(22, 56, 71, 0.022) 0,
      rgba(22, 56, 71, 0.022) 1px,
      transparent 1px,
      transparent 4px
    );
}


/* --------------------------------------------------
   PAGE
-------------------------------------------------- */

.page-shell {
  width: min(1380px, 100%);
  min-height: 100svh;

  margin: 0 auto;

  padding:
    30px
    clamp(24px, 4vw, 62px)
    22px;

  display: grid;
  grid-template-rows:
    auto
    1fr
    auto;
}


/* --------------------------------------------------
   HEADER + FOOTER
-------------------------------------------------- */

.topbar,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  letter-spacing: 0.14em;
  text-transform: uppercase;

  font-size: 10px;
  font-weight: 700;
}

.topbar {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: inherit;
  text-decoration: none;

  letter-spacing: 0.23em;
}

.brand-mark {
  width: 9px;
  height: 9px;

  border-radius: 50%;
  border: 1px solid var(--ink);

  box-shadow:
    inset 0 0 0 2px var(--paper-light),
    inset 0 0 0 4px var(--ink);
}

.location,
footer {
  color: var(--ink-soft);
}


/* --------------------------------------------------
   HERO
-------------------------------------------------- */

.hero {
  min-height: calc(100svh - 145px);

  display: grid;

  grid-template-columns:
    minmax(380px, 1fr)
    minmax(400px, 0.78fr);

  align-items: center;

  gap: clamp(46px, 7vw, 112px);

  padding:
    clamp(34px, 5vh, 58px)
    0;
}


/* --------------------------------------------------
   VISUAL
-------------------------------------------------- */

.visual {
  min-width: 0;

  display: grid;
  justify-items: center;
  align-content: center;
}


/*
   Il badge ruota molto lentamente.
   L'immagine interna ha invece un piccolo zoom
   con una durata diversa: i due movimenti
   non sembrano quindi sincronizzati.
*/

.badge-wrap {
  width: min(80%, 500px);
  aspect-ratio: 1;

  overflow: hidden;

  border-radius: 50%;

  position: relative;

  filter:
    drop-shadow(
      0 24px 28px
      rgba(56, 42, 31, 0.16)
    );

  transform-origin: center center;

  animation:
    badge-float
    14s
    ease-in-out
    infinite
    alternate;

  will-change: transform;
}

.badge-wrap::after {
  content: "";

  position: absolute;
  inset: 1px;

  border-radius: 50%;

  box-shadow:
    inset 0 0 0 1px
      rgba(255, 255, 255, 0.28),

    0 0 0 1px
      rgba(22, 56, 71, 0.05);

  pointer-events: none;
}

.badge-wrap img {
  width: 133.333%;
  height: 100%;

  max-width: none;

  display: block;

  object-fit: cover;
  object-position: center center;

  transform:
    translateX(-12.5%)
    scale(1);

  transform-origin: center center;

  animation:
    badge-breathe
    9s
    ease-in-out
    infinite
    alternate;

  will-change: transform;
}


/* --------------------------------------------------
   BADGE ANIMATION
-------------------------------------------------- */

@keyframes badge-float {

  0% {
    transform:
      rotate(-2deg)
      translateY(2px);
  }

  100% {
    transform:
      rotate(9deg)
      translateY(-4px);
  }

}


@keyframes badge-breathe {

  0% {
    transform:
      translateX(-12.5%)
      scale(1);
  }

  100% {
    transform:
      translateX(-12.5%)
      scale(1.1);
  }

}


/* --------------------------------------------------
   VISUAL CAPTION
-------------------------------------------------- */

.visual-caption {
  margin:
    22px
    0
    0;

  color:
    rgba(
      22,
      56,
      71,
      0.56
    );

  font-size: 9px;
  line-height: 1;

  font-weight: 750;

  letter-spacing: 0.23em;

  text-transform: uppercase;
}


/* --------------------------------------------------
   COPY
-------------------------------------------------- */

.copy {
  max-width: 530px;

  transform:
    translateY(-2px);
}


/* --------------------------------------------------
   STATUS
-------------------------------------------------- */

.status {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  margin-bottom: 28px;

  padding:
    8px
    12px;

  border:
    1px
    solid
    var(--line);

  border-radius: 999px;

  background:
    rgba(
      255,
      255,
      255,
      0.27
    );

  backdrop-filter:
    blur(8px);

  font-size: 9px;
  font-weight: 750;

  letter-spacing: 0.2em;
}

.status-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background:
    var(--terracotta);

  box-shadow:
    0 0 0 5px
    rgba(
      169,
      81,
      55,
      0.09
    );

  animation:
    pulse
    2.2s
    ease-in-out
    infinite;
}


/* --------------------------------------------------
   EYEBROW
-------------------------------------------------- */

.eyebrow {
  margin:
    0
    0
    17px;

  color:
    var(--terracotta);

  font-size: 11px;
  font-weight: 750;

  letter-spacing:
    0.24em;
}


/* --------------------------------------------------
   TITLE
-------------------------------------------------- */

h1 {
  margin: 0;

  max-width: 520px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(
      54px,
      5.2vw,
      76px
    );

  line-height: 0.94;

  letter-spacing:
    -0.047em;

  font-weight: 500;
}

h1 em {
  color:
    var(--terracotta);

  font-weight: 400;
}


/* --------------------------------------------------
   INTRO
-------------------------------------------------- */

.intro {
  max-width: 500px;

  margin:
    30px
    0
    34px;

  color:
    var(--ink-soft);

  font-size:
    clamp(
      17px,
      1.28vw,
      20px
    );

  line-height: 1.62;
}


/* --------------------------------------------------
   COMING SOON
-------------------------------------------------- */

.coming {
  display: flex;
  align-items: center;

  gap: 16px;

  font-size: 10px;
  font-weight: 750;

  letter-spacing:
    0.18em;
}

.coming .line {
  width: 62px;
  height: 1px;

  background:
    var(--gold);
}


/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */

footer {
  padding-top: 17px;

  border-top:
    1px
    solid
    var(--line);
}

.footer-mark {
  color:
    var(--terracotta);
}


/* --------------------------------------------------
   STATUS DOT ANIMATION
-------------------------------------------------- */

@keyframes pulse {

  0%,
  100% {
    transform:
      scale(1);

    opacity: 1;
  }

  50% {
    transform:
      scale(0.74);

    opacity: 0.58;
  }

}


/* --------------------------------------------------
   TABLET
-------------------------------------------------- */

@media (max-width: 920px) {

  .page-shell {
    min-height: 100svh;
  }

  .hero {
    min-height: auto;

    grid-template-columns:
      1fr;

    gap: 34px;

    padding:
      34px
      0
      42px;
  }

  .badge-wrap {
    width:
      min(
        72vw,
        470px
      );
  }

  .visual-caption {
    margin-top: 18px;
  }

  .copy {
    max-width: 640px;

    transform: none;
  }

  h1 {
    font-size:
      clamp(
        52px,
        11vw,
        76px
      );
  }

}


/* --------------------------------------------------
   MOBILE
-------------------------------------------------- */

@media (max-width: 580px) {

  .page-shell {
    padding:
      20px
      18px
      18px;
  }

  .location {
    display: none;
  }

  .hero {
    gap: 28px;

    padding:
      27px
      0
      32px;
  }

  .badge-wrap {
    width:
      min(
        82vw,
        370px
      );
  }

  .visual-caption {
    display: none;
  }

  .status {
    margin-bottom: 21px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .intro {
    margin:
      24px
      0
      29px;
  }

  .coming {
    gap: 12px;
  }

  .coming .line {
    width: 28px;
  }

  footer {
    gap: 10px;

    font-size: 8px;
  }

}


/* --------------------------------------------------
   ACCESSIBILITY
-------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .badge-wrap,
  .badge-wrap img,
  .status-dot {
    animation: none;
  }

}