* {
  box-sizing: border-box;
}

:root {
  --bg-0: #060608;
  --bg-1: #0f1116;
  --bg-2: #1a1d24;
  --slab-0: #15181e;
  --slab-1: #0f1217;
  --ink: #e8dfcf;
  --ink-soft: #beb5a5;
  --line: #3d3f47;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Cinzel", "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(120% 90% at 50% 0%, var(--bg-2) 0%, var(--bg-1) 45%, var(--bg-0) 100%);
  min-height: 100vh;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.5rem 0.75rem;
  border-radius: 0 0 6px 6px;
  background: #ffffff;
  color: #111111;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
}

.container {
  width: min(100% - 2.5rem, 760px);
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.hero-content {
  width: min(94vw, 760px);
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--slab-0) 0%, var(--slab-1) 100%);
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 38px rgba(0, 0, 0, 0.45);
}

.inscription {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  max-width: none;
  transform-origin: center center;
  will-change: transform;
}

h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.7rem, 4.8vw, 3rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: clamp(0.06em, 0.35vw, 0.1em);
  white-space: nowrap;
  text-wrap: nowrap;
  word-break: keep-all;
}

.lead {
  margin: 0 0 1.4rem;
  font-family: "Forum", "Times New Roman", serif;
  font-size: clamp(1.12rem, 2.1vw, 1.5rem);
  letter-spacing: 0.09em;
  color: var(--ink-soft);
}

.title {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.24rem);
  letter-spacing: 0.13em;
}

.nameplate {
  font-size: clamp(2rem, 4vw, 2.48rem);
  letter-spacing: 0.1em;
  line-height: 1.15;
}

.date {
  margin: 0.35rem 0 0;
  font-size: clamp(0.96rem, 1.8vw, 1.12rem);
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}

.lead,
.title,
.date {
  white-space: nowrap;
  text-wrap: nowrap;
  word-break: keep-all;
}

@media (max-width: 560px) {
  .hero-content {
    width: min(92vw, 500px);
    padding-inline: 1rem;
  }

  h1 {
    font-size: clamp(1.35rem, 8vw, 2.1rem);
    letter-spacing: 0.06em;
  }

  .lead,
  .title,
  .date {
    letter-spacing: 0.08em;
  }
}

