:root {
  color-scheme: light;
  --paper: #050505;
  --paper-soft: #ffffff;
  --ink: #12110f;
  --muted: #12110f;
  --line-red: #ff1744;
  --line-blue: #2554ff;
  --line-lime: #39ff14;
  --line-pink: #ff2fb3;
  --line: var(--line-red);
  --line-soft: var(--line-blue);
  --leaf: #5e6f4a;
  --font-main: "Le Monde Journal", "Le Monde Journal Std", "Le Monde Livre",
    Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.06), transparent 28%),
    radial-gradient(circle at 78% 76%, rgba(0, 0, 0, 0.72), transparent 34%),
    linear-gradient(135deg, rgba(18, 18, 18, 1), rgba(0, 0, 0, 1)),
    var(--paper);
  font-family: var(--font-main);
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(20px, 5vw, 56px);
}

.page-shell::before {
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
  content: "";
  background:
    radial-gradient(circle, rgba(255, 222, 184, 0.22), transparent 56%),
    radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 44%);
  filter: blur(18px);
}

.page-shell::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background:
    linear-gradient(
      180deg,
      rgba(255, 23, 68, 0.95) 0 34%,
      rgba(37, 84, 255, 0.86) 34% 72%,
      rgba(255, 47, 179, 0.72) 72% 100%
    ) 3% 0 / 3px 100% no-repeat,
    linear-gradient(
      180deg,
      rgba(37, 84, 255, 0.86) 0 34%,
      rgba(255, 23, 68, 0.95) 34% 72%,
      rgba(57, 255, 20, 0.58) 72% 100%
    ) 97% 0 / 3px 100% no-repeat,
    radial-gradient(ellipse at center, transparent 0 38%, rgba(32, 0, 8, 0.34) 74%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 18% 82%, rgba(0, 0, 0, 0.16));
  filter:
    drop-shadow(0 0 8px rgba(255, 23, 68, 0.44))
    drop-shadow(0 0 12px rgba(37, 84, 255, 0.34));
  pointer-events: none;
}

.card {
  border-radius: 175px;
  position: relative;
  width: min(100%, 740px);
  min-height: min(350px, calc(100vh - 64px));
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: space-between;
  justify-items: center;
  gap: 0;
  padding: clamp(22px, 3.2vw, 36px) clamp(44px, 6.8vw, 76px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(250, 250, 250, 1)),
    var(--paper-soft);
  border-radius: 0;
  border: 1px solid var(--line-red);
  box-shadow:
    0 42px 100px rgba(21, 0, 8, 0.52),
    0 0 0 1px rgba(248, 245, 237, 0.24),
    0 0 58px rgba(237, 232, 220, 0.1),
    inset 0 0 0 8px rgba(255, 255, 255, 0.98),
    inset 0 0 0 9px var(--line-blue),
    inset 0 0 0 12px rgba(255, 255, 255, 0.98),
    inset 0 0 0 13px var(--line-lime),
    inset 0 0 0 16px rgba(255, 255, 255, 0.98),
    inset 0 0 0 17px var(--line-pink),
    0 0 16px rgba(255, 23, 68, 0.95),
    0 0 30px rgba(37, 84, 255, 0.62),
    0 0 38px rgba(57, 255, 20, 0.46),
    0 0 46px rgba(255, 47, 179, 0.48);
  animation: card-rise 900ms cubic-bezier(0.2, 0.9, 0.25, 1.2) both;
  overflow: hidden;
  transition:
    box-shadow 240ms ease,
    transform 240ms ease;
}

.card:hover {
  box-shadow:
    0 56px 120px rgba(21, 0, 8, 0.62),
    0 0 0 1px rgba(255, 244, 226, 0.44),
    0 0 96px rgba(255, 214, 153, 0.28),
    inset 0 0 0 8px rgba(255, 255, 255, 0.98),
    inset 0 0 0 9px var(--line-blue),
    inset 0 0 0 12px rgba(255, 255, 255, 0.98),
    inset 0 0 0 13px var(--line-lime),
    inset 0 0 0 16px rgba(255, 255, 255, 0.98),
    inset 0 0 0 17px var(--line-pink),
    0 0 22px rgba(255, 23, 68, 1),
    0 0 38px rgba(37, 84, 255, 0.76),
    0 0 48px rgba(57, 255, 20, 0.58),
    0 0 58px rgba(255, 47, 179, 0.58);
  transform: translateY(-8px) scale(1.012);
}

.card::before,
.card::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.card::before {
  inset: 22px;
  border: 0;
}

.card::after {
  inset: 28px 34px;
  border: 0;
}

.identity {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-self: end;
  gap: 0;
  text-align: center;
}

.kicker {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin: 0;
  max-width: 42ch;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  color: var(--muted);
  align-self: start;
}


h1 {
  margin: 0;
  max-width: none;
  font-family: var(--font-main);
  font-size: clamp(1.45rem, 3.8vw, 2.72rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  font-style: italic;
}

.arched-name {
  width: min(100%, 390px);
  height: auto;
  display: block;
  justify-self: center;
  margin-inline: auto;
  margin: 50px 0 25px 0;
}

.arched-name svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.arched-name text {
  fill: var(--ink);
  font-family: var(--font-main);
  font-size: 40px;
  font-style: italic;
  font-weight: 500;
}

.contacts {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  justify-items: center;
  align-self: end;
}

.contact-link {
  display: grid;
  width: min(100%, 360px);
  grid-template-columns: 1fr;
  gap: 4px;
  justify-items: center;
  align-items: center;
  margin: 0;
  padding: 8px 0;
  border-bottom: 0;
  text-decoration: none;
}

.contact-link:last-child {
  border-bottom: 0;
}

.contact-link span {
  font-size: 0.43rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-link strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--font-main);
  font-size: clamp(0.68rem, 1.2vw, 0.86rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
}

.contact-link:hover strong,
.contact-link:focus-visible strong {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.contact-note:hover strong {
  text-decoration: none;
}

.contact-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 6px;
}

@keyframes card-rise {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.97);
  }

  62% {
    opacity: 1;
    transform: translateY(-8px) scale(1.012);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

  .card:hover {
    transform: none;
  }
}

@media (max-width: 620px) {
  .arched-name {
    margin: 80px 0 0 0;
  }
  .arched-name svg {
    transform: scale(1.5);
  }
  .page-shell {
    place-items: stretch;
  }

  .card {
    min-height: min(385px, calc(100vh - 40px));
  }
  .contacts {
    margin-bottom: 50px;
  }
  .contact-link {
    gap: 8px;
  }

  .kicker::before,
  .kicker::after {
    width: 20px;
    margin-inline: 8px;
  }

  h1 {
    font-size: clamp(1.25rem, 7vw, 2.1rem);
  }

  .arched-name {
    width: min(100%, 86vw);
  }

  .arched-name text {
    font-size: clamp(30px, 10vw, 38px);
  }

  .kicker {
    margin-top: 55px;
    max-width: 34ch;
    font-size: clamp(0.42rem, 1.9vw, 0.52rem);
    letter-spacing: 0.12em;
  }

  .contact-link strong {
    font-size: clamp(0.64rem, 3.4vw, 0.86rem);
  }

  .contact-link span {
    font-size: clamp(0.4rem, 1.8vw, 0.46rem);
  }
}
