/* vishalanand.app: black on safety yellow, one font, a title and a list of links. nothing else. */
html {
  background: #ffe600;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 20px 48px;
  font: 600 18px/1.2 "Bricolage Grotesque", system-ui, sans-serif;
  color: #000;
  text-transform: lowercase;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid #000;
  outline-offset: 3px;
}

.back {
  display: inline-block;
  padding: 12px 0;
  font-weight: 600;
  font-size: 17px;
}

/* page titles: a step up from the rows, not a poster */
h1 {
  margin: 28px 0 8px;
  font-size: clamp(30px, 8vw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

li a {
  display: block;
  padding: 12px 0;
}

/* home: links stacked top right, the name big at the bottom left */
.home {
  box-sizing: border-box;
  max-width: none;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 20px 22px max(40px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
}

.home nav a {
  padding: 6px 0;
}

.home h1 {
  margin: 48px 0 0;
  font-size: clamp(64px, 19vw, 210px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.045em;
}

@media (min-width: 900px) {
  .home {
    padding: 40px 6vw 6vw;
  }
}
