/* The page that links the three variants. Plain CSS: no build step, no scripts. */
@font-face {
  font-family: "Anton";
  src: url("/assets/fonts/anton.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/inter-tight.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0b0a09;
  --fg: #dcd8d0;
  --fg-soft: rgb(220 216 208 / 0.66);
  --line: rgb(220 216 208 / 0.14);
  --rust: #b8451f;
  --gutter: clamp(16px, 3vw, 40px);
}

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

body {
  margin: 0;
  padding: clamp(40px, 7vw, 96px) var(--gutter);
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter Tight", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.intro {
  max-width: 1400px;
  margin: 0 auto clamp(32px, 5vw, 64px);
}

.intro h1 {
  margin: 0 0 20px;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(64px, 11vw, 176px);
  line-height: 0.88;
  text-transform: uppercase;
  color: var(--rust);
}

.intro p {
  max-width: 62ch;
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.5;
}

.intro .note {
  color: var(--fg-soft);
  font-size: 15px;
}

.options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(16px, 2vw, 28px);
  max-width: 1400px;
  margin: 0 auto;
}

.option {
  display: grid;
  gap: 12px;
  align-content: start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.option img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  background: #1a1816;
}

.option__name {
  margin-top: 6px;
  font-family: "Anton", Impact, sans-serif;
  font-size: 40px;
  line-height: 1;
  text-transform: uppercase;
}

.option__name span {
  color: var(--fg-soft);
}

.option__text {
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg-soft);
}

.option__cta {
  justify-self: start;
  margin-top: 4px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--rust);
  text-decoration-thickness: 2px;
}

.option:hover .option__cta,
.option:focus-visible .option__cta {
  color: var(--rust);
}

.option:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 6px;
  border-radius: 10px;
}
