@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #10120f;
  --ink: #f3f0e6;
  --muted: #b4b8ab;
  --line: rgba(243, 240, 230, 0.16);
  --brass: #e7c56a;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 45% at 100% -10%, rgba(231, 197, 106, 0.08), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

::selection {
  background: var(--brass);
  color: #1a160c;
}

a {
  color: inherit;
}

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

main {
  width: min(40rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 12vh 0 4rem;
}

.name {
  margin: 0 0 3rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--brass);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

.lead {
  max-width: 38rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
}

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

address,
.contacts {
  font-style: normal;
}

.label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--brass);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contacts a {
  display: block;
  width: fit-content;
  text-underline-offset: 0.18em;
}

.contacts a + a {
  margin-top: 0.35rem;
}

@media (max-width: 560px) {
  main {
    width: min(40rem, calc(100% - 1.5rem));
    padding-top: 3.5rem;
  }

  .details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
