:root {
  --bg: #080808;
  --bg-soft: #101114;
  --text: #f3f2ef;
  --muted: #9b9992;
  --line: rgba(255, 255, 255, 0.1);
  --link: #b4b1ab;
  --link-hover: #f3f2ef;
  --accent: hsl(334 85% 50%);
}

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

::selection {
  color: var(--bg);
  background: var(--text);
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Schibsted Grotesk", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.hero {
  width: min(1080px, 100%);
  min-height: min(70vh, 720px);
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 24px 56px;
  align-items: center;
}

.eyebrow {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.link-row {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-row a {
  width: fit-content;
  color: var(--link);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 160ms ease;
}

.link-row a:hover,
.link-row a:focus-visible {
  color: var(--link-hover);
}

h1 {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  margin: 0;
  display: grid;
  gap: 14px;
  padding-left: clamp(28px, 4vw, 48px);
  border-left: 1px solid var(--line);
  font-size: clamp(4rem, 9vw, 7.4rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.role-prefix {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.82rem, 1.15vw, 0.92rem);
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.4;
}

.accent {
  width: fit-content;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}

.accent:hover,
.accent:focus-visible {
  border-color: currentColor;
}

@media (max-width: 820px) {
  .site-shell {
    padding: 24px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
  }

  .eyebrow,
  .link-row,
  h1 {
    grid-column: 1;
  }

  .link-row {
    grid-row: 3;
    align-self: start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 22px;
  }

  h1 {
    grid-row: 2;
    padding-left: 20px;
    font-size: clamp(2.9rem, 15vw, 4.6rem);
  }
}
