/* Gadeschi — temporary page */

@font-face {
  font-family: "Antic Didone";
  src: url("../fonts/antic-didone-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
/* Satoshi: Fontshare, ITF FFL */
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --color-primary-500: #bda382;
  --color-primary-800: #442a27;
  --color-white: #fff;

  --font-sans: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Antic Didone", Georgia, "Times New Roman", serif;
}

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

html,
body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  background: var(--color-white);
  color: var(--color-primary-800);
  font-family: var(--font-serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

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

/* Header */

.site-header {
  background: var(--color-primary-500);
  height: clamp(150px, 13.8vw, 265px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header__logo { width: clamp(120px, 9.9vw, 190px); }

/* Main */

.main {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  padding: 44px 24px clamp(220px, 15vw, 290px);
  text-align: center;
}

.lang {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  font-family: var(--font-sans);
  font-size: 18px;
  letter-spacing: 0.02em;
}

.lang a {
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.lang a:hover,
.lang a[aria-current="page"] { border-bottom-color: currentColor; }

.block { position: relative; z-index: 2; margin: 0 auto; }
.block + .block,
.decor-row + .block { margin-top: clamp(150px, 13vw, 250px); }

.title {
  margin: 0 0 .5em;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(30px, 3.05vw, 48px);
  line-height: 1.18;
  letter-spacing: 0.012em;
  text-transform: uppercase;
  color: var(--color-primary-500);
}

.text {
  max-width: 44em;
  margin: 0 auto;
  font-size: clamp(18px, 1.1vw, 21px);
  line-height: 1.55;
  letter-spacing: 0.01em;
}
.text p { margin: 0 0 1.5em; }
.text p:last-child { margin-bottom: 0; }

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 290px;
  height: 47px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--color-primary-500);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .2s;
}
.btn:hover,
.btn:focus-visible { background: var(--color-primary-800); }

:focus-visible { outline: 2px solid var(--color-primary-800); outline-offset: 3px; }

/* Decorations */

.decor { position: absolute; z-index: 1; pointer-events: none; user-select: none; }
.decor-row { display: contents; }

.decor--granella-amaretto { width: 36vw; max-width: 690px; top: -9.4vw; right: -11.4vw; }
.decor--meringhe          { width: 31vw; max-width: 600px; top: 12.4vw; left: -.5vw; }
.decor--amaretto          { width: 22vw; max-width: 425px; top: 18vw;   right: -4.8vw; }
.decor--cantucci          { width: 29vw; max-width: 560px; bottom: 2.5vw; right: 5.6vw; }
.decor--granella-gialla   { width: 31vw; max-width: 600px; bottom: -4.6vw; left: -11.5vw; }

/* Medium screens */
@media (max-width: 1440px) {
  .decor--meringhe { left: -5vw; }
  .decor--amaretto { right: -8vw; }
  .decor--cantucci { right: -3vw; width: 27vw; }
}

@media (max-width: 1199px) {
  .block { max-width: 640px; }
  .text br { display: none; }
  .decor--meringhe { width: 30vw; left: -10vw; top: 22vw; }
  .decor--amaretto { width: 22vw; right: -11vw; top: 26vw; }
  .decor--cantucci { width: 28vw; right: -9vw; }
  .decor--granella-gialla { left: -14vw; }
}

/* Tablet: decorations join the flow */
@media (max-width: 1023px) {
  .block { max-width: 640px; }
  .main { padding-bottom: 150px; }

  .decor--meringhe,
  .decor--amaretto,
  .decor--cantucci { position: static; max-width: none; }

  .decor-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 56px -24px 0;
  }
  .decor--meringhe { width: 46vw; margin-left: -3vw; }
  .decor--amaretto { width: 27vw; margin-right: -6vw; }
  .decor-row + .block { margin-top: 80px; }

  .decor--cantucci { width: 46vw; margin: 40px -6vw 0 auto; }
  .decor--granella-gialla { width: 36vw; left: -12vw; bottom: -9vw; }
}

/* Footer */

.site-footer {
  background: var(--color-primary-500);
  color: var(--color-white);
  font-family: var(--font-sans);
  padding: 92px 24px 190px;
}

.site-footer__inner {
  max-width: 1516px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 432px) minmax(0, 1fr);
  align-items: end;
}

.site-footer__logo { width: 140px; margin-bottom: 30px; }

.company {
  margin: 0;
  font-size: 16px;
  line-height: 1.38;
  font-style: normal;
}
.company p { margin: 0 0 1.38em; }
.company p:last-child { margin: 0; }

.contact { font-size: 20px; line-height: 1.45; }
.contact h2 { margin: 0 0 18px; font-size: 24px; font-weight: 500; letter-spacing: .005em; }
.contact p { margin: 0 0 16px; }
.contact p:last-child { margin: 30px 0 0; }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Mobile */

@media (max-width: 767px) {
  .site-header { height: 140px; }
  .site-header__logo { width: 112px; }

  .main { padding: 32px 20px 120px; }
  .lang { margin-bottom: 24px; font-size: 16px; }

  .title { font-size: clamp(24px, 7vw, 30px); }
  .text { font-size: 17px; }

  .buttons { flex-direction: column; align-items: center; margin-top: 30px; }
  .btn { min-width: 0; width: 100%; max-width: 300px; font-size: 14px; }

  .decor--granella-amaretto { width: 48vw; top: -17vw; right: -20vw; }
  .decor--granella-gialla   { width: 50vw; bottom: -13vw; left: -16vw; }
  .decor-row { margin: 44px -20px 0; }
  .decor--meringhe { width: 58vw; }
  .decor--amaretto { width: 33vw; }
  .decor-row + .block { margin-top: 56px; }
  .decor--cantucci { width: 64vw; margin-top: 32px; }

  .site-footer { padding: 90px 20px 64px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 44px; }
  .site-footer__logo { width: 112px; }
  .company { font-size: 15px; }
  .contact { font-size: 17px; }
  .contact h2 { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
