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

:root {
  --paper: #ffffff;
  --ink: #111111;
  --ink-soft: #5b5b5b;
  --line: rgba(0, 0, 0, 0.16);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(72px, 9vw, 120px) clamp(22px, 6vw, 48px) clamp(40px, 6vw, 72px);
  min-height: 100dvh;
  overflow-x: hidden;
}

/* Top-left group link */
.group-link {
  position: fixed;
  top: clamp(16px, 3vw, 28px);
  left: clamp(16px, 4vw, 36px);
  z-index: 10;
  display: inline-flex;
  align-items: baseline;
  gap: 0.55em;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
  text-decoration: none;
  transition: color 0.25s ease;
}
.group-link img {
  height: 17px;
  width: auto;
  flex-shrink: 0;
  align-self: baseline;
  transform: translateY(1px);
}
.group-link .brand { color: var(--ink); }
.group-link:hover { color: rgba(0, 0, 0, 0.7); }
.group-link:hover .brand { color: var(--ink); }

/* Language nav */
.lang {
  position: fixed;
  top: clamp(16px, 3vw, 28px);
  right: clamp(16px, 4vw, 36px);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 12px);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
}
.lang a {
  color: rgba(0, 0, 0, 0.35);
  text-decoration: none;
  padding: 4px 2px;
  transition: color 0.25s ease;
}
.lang a[aria-current="page"] { color: var(--ink); }
.lang a:not([aria-current="page"]):hover { color: rgba(0, 0, 0, 0.65); }
.lang .div { width: 1px; height: 13px; background: var(--line); }

/* Main composition */
.card {
  width: min(640px, 100%);
  max-width: 100%;
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card > * { max-width: 100%; min-width: 0; }

.logo-matteo {
  display: block;
  width: clamp(96px, 21vw, 138px);
  height: auto;
}

.headline {
  margin: clamp(34px, 6vw, 56px) 0 0;
  font-weight: 500;
  font-size: clamp(27px, 6.6vw, 46px);
  line-height: 1.16;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: min(22ch, 100%);
  text-wrap: balance;
}

.subheadline {
  margin: clamp(20px, 3.4vw, 30px) 0 0;
  font-weight: 400;
  font-size: clamp(17px, 3vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: min(46ch, 100%);
  text-wrap: pretty;
}
.subheadline p { margin: 0; }

.closing {
  margin: clamp(22px, 3.6vw, 34px) 0 0;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(18px, 3.4vw, 25px);
  line-height: 1.3;
  color: var(--ink);
}

.rule {
  width: clamp(40px, 8vw, 64px);
  height: 1px;
  background: var(--ink);
  opacity: 0.85;
  margin: clamp(38px, 6vw, 60px) 0 clamp(34px, 5vw, 50px);
}

/* Temporary closure notice — framed with brand-gold hairlines, two-tier emphasis */
.notice {
  margin: 0 0 clamp(28px, 4.5vw, 44px);
  padding: clamp(16px, 2.8vw, 22px) clamp(18px, 3vw, 28px);
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(17px, 3.1vw, 22px);
  line-height: 1.32;
  letter-spacing: -0.003em;
  color: var(--ink);
  max-width: min(40ch, 100%);
  text-wrap: balance;
  border-top: 1px solid #B3854B;
  border-bottom: 1px solid #B3854B;
  background: rgba(179, 133, 75, 0.045);
}
.notice .aside {
  display: block;
  margin-top: 0.4em;
  font-size: 0.78em;
  font-weight: 400;
  font-style: italic;
  color: var(--ink-soft);
  letter-spacing: 0;
}

/* Footer meta */
.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(7px, 1.3vw, 11px);
  width: 100%;
}
.meta {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(13px, 2.1vw, 15px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.6;
  max-width: 100%;
  overflow-wrap: break-word;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}
.meta .label {
  color: rgba(0, 0, 0, 0.45);
  font-weight: 600;
}
.meta.reservation .label { color: var(--ink); }
.meta .sep {
  display: inline-block;
  margin: 0 0.55em;
  color: var(--line);
}
.meta a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: border-color 0.25s ease;
}
.meta a:hover { border-color: rgba(0, 0, 0, 0.7); }
.meta.reservation { font-size: clamp(13.5px, 2.3vw, 16px); }
.meta.operator {
  margin-top: clamp(2px, 0.6vw, 5px);
  font-size: clamp(10.5px, 1.7vw, 12px);
  letter-spacing: 0.12em;
}

/* Entrance */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.reveal { opacity: 0; animation: rise 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards; }
.logo-matteo { animation-delay: 0.05s; }
.headline    { animation-delay: 0.18s; }
.subheadline { animation-delay: 0.30s; }
.closing     { animation-delay: 0.42s; }
.rule        { animation-delay: 0.54s; }
.notice      { animation-delay: 0.60s; }
.foot        { animation-delay: 0.68s; }

@media (max-width: 480px) {
  .meta { letter-spacing: 0.08em; }
  .meta .sep { margin: 0 0.4em; }
  .group-link { font-size: 11px; letter-spacing: 0.14em; gap: 0.45em; }
  .group-link .lbl { display: none; }
  .group-link img { height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; }
}
