:root {
  --background: #111216;
  --text: #f8f3e9;
  --text-muted: #c8c2b9;
  --border: #46434a;
  --accent: #6ee787;
  --accent-hover: #a0f4af;
  --focus: #ffdf69;
  --logo-stripes: linear-gradient(
    90deg,
    #e51d23 0% 14.285%,
    #ff8600 14.285% 28.57%,
    #ffcf00 28.57% 42.855%,
    #009b49 42.855% 57.14%,
    #00a0c6 57.14% 71.425%,
    #39449a 71.425% 85.71%,
    #8b208b 85.71% 100%
  );
  --gutter: clamp(18px, 6vw, 68px);
  --serif: Georgia, 'Times New Roman', serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 400 16px/1.55 system-ui, sans-serif;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.container {
  max-width: 74rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero {
  padding: clamp(34px, 7vw, 78px) 0 clamp(34px, 6vw, 64px);
}

.hero-intro {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template:
    "heading logo"
    "summary logo"
    "actions logo"
    / minmax(0, 1fr) clamp(112px, 20vw, 224px);
  column-gap: clamp(24px, 6vw, 64px);
}

.hero-intro::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(#ffffff09 1px, transparent 1px),
    linear-gradient(90deg, #ffffff09 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at right center, black, transparent 66%);
  pointer-events: none;
  content: "";
}

.hero-intro + .section {
  border-image: var(--logo-stripes) 1;
}

.hero-intro > .hero-summary {
  grid-area: summary;
}

.hero-intro > .actions {
  grid-area: actions;
}

.hero-logo {
  grid-area: logo;
  align-self: center;
}

.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.eyebrow {
  margin: 0;
  color: var(--text-muted);
  font: 500 12px/1.5 var(--mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 22ch;
  margin: 16px 0 20px;
  font: 400 clamp(34px, 6.3vw, 68px)/1.02 var(--serif);
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero-intro > h1 {
  grid-area: heading;
  margin-top: 0;
}

.hero h1 em {
  color: var(--accent);
}

.hero-summary {
  max-width: 57ch;
  margin: 0;
  color: var(--text-muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 24px;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  text-underline-offset: 0.25em;
}

.button {
  padding: 0 14px;
  background: var(--accent);
  color: var(--background);
  font: 500 0.875rem/1.4 var(--mono);
  text-decoration: none;
}

.button:hover {
  background: var(--accent-hover);
}

.button-outline {
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
}

.button-outline:hover {
  border-color: var(--accent-hover);
  background: transparent;
  color: var(--accent-hover);
}

.text-link:hover {
  color: var(--accent);
}

.section {
  padding: 24px 0 32px;
  border-top: 1px solid var(--border);
}

.section-copy {
  max-width: 65ch;
  margin: 8px 0 0;
  color: var(--text-muted);
}

.service-list {
  display: grid;
  gap: 6px;
  padding-inline-start: 1.25em;
}

.service-list li::marker {
  color: var(--accent);
}

.service-list strong {
  color: var(--text);
}

.experience-list {
  margin: 12px 0 0;
  padding: 0;
  color: var(--text-muted);
  list-style: none;
}

.experience-list > li {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 18px;
  padding: 9px 0;
}

.experience-list > li + li {
  border-top: 1px solid var(--border);
}

.experience-list > li > a {
  justify-self: start;
  font-weight: 600;
}

.experience-list a {
  color: var(--text);
  text-underline-offset: 0.22em;
}

.experience-list a:hover {
  color: var(--accent);
}

@media (max-width: 560px) {
  .hero-intro {
    grid-template:
      "heading logo"
      "summary summary"
      "actions actions"
      / minmax(0, 1fr) clamp(48px, 16vw, 76px);
    column-gap: 16px;
  }

  .experience-list > li {
    grid-template-columns: minmax(0, 1fr);
  }
}
