@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/newsreader.woff2") format("woff2");
}
:root {
  color-scheme: light dark;
  --paper: light-dark(oklch(0.975 0.005 85), oklch(0.19 0.005 85));
  --ink: light-dark(oklch(0.23 0.008 85), oklch(0.92 0.006 85));
  --grey: light-dark(oklch(0.5 0.008 85), oklch(0.7 0.008 85));
  --rule: light-dark(oklch(0.8 0.006 85), oklch(0.4 0.006 85));
}
:root[data-theme="light"] {
  color-scheme: light;
}
:root[data-theme="dark"] {
  color-scheme: dark;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    400 1.125rem/1.5 "Newsreader",
    "Iowan Old Style",
    Georgia,
    serif;
  font-optical-sizing: auto;
  font-feature-settings: "kern", "liga", "onum";
  -webkit-font-smoothing: antialiased;
}
h1,
p,
figure {
  margin: 0;
}
.page {
  min-block-size: 100svh;
  max-inline-size: 34rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "face" "hello" "work" "foot";
  grid-template-rows: auto auto auto 1fr;
  padding-block: 2.25rem;
  padding-inline: 1.5rem;
}
.face {
  grid-area: face;
  display: block;
  block-size: 4rem;
  inline-size: auto;
  fill: currentColor;
}
.hello {
  grid-area: hello;
  margin-block-start: 5.5rem;
}
h1 {
  font-weight: 400;
  font-size: 2.375rem;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.lede {
  margin-block-start: 1rem;
  color: var(--grey);
  max-inline-size: 26ch;
  font-size: 1.1875rem;
  line-height: 1.4;
  text-wrap: pretty;
}
.work {
  grid-area: work;
  margin-block-start: 4.5rem;
  display: grid;
  gap: 1.25rem;
}
.work-text {
  display: grid;
  gap: 0.375rem;
}
.work-name {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.2;
}
.work-desc {
  color: var(--grey);
  max-inline-size: 30ch;
  text-wrap: pretty;
}
.thumb {
  inline-size: 8.5rem;
  aspect-ratio: 1;
}
.thumb img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  border-radius: 2px;
}
.foot {
  grid-area: foot;
  align-self: end;
  margin-block-start: 5rem;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
}
.theme {
  font: inherit;
  color: var(--grey);
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--rule);
  text-underline-offset: 0.22em;
}
@media (hover: hover) and (pointer: fine) {
  .theme:hover {
    color: var(--ink);
    text-decoration-style: solid;
    text-decoration-color: currentColor;
  }
}
.theme:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}
.theme[hidden] {
  display: none;
}
a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--rule);
  text-underline-offset: 0.22em;
}
@media (hover: hover) and (pointer: fine) {
  a:hover {
    text-decoration-color: currentColor;
    text-decoration-thickness: 2px;
  }
}
a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
  text-decoration-color: currentColor;
}
.arrow {
  font-weight: 400;
}
@media (min-width: 60rem) {
  body {
    font-size: 1.25rem;
  }
  .page {
    max-inline-size: none;
    padding-block: 4.5rem 3.5rem;
    padding-inline: 6vw;
    column-gap: 3rem;
    grid-template-columns: 7rem minmax(0, 30rem) 13rem minmax(0, 1fr);
    grid-template-areas: "face hello . ." ". work thumb ." ". foot foot foot";
    grid-template-rows: auto auto 1fr;
  }
  .face {
    block-size: 4.5rem;
  }
  .hello {
    margin-block-start: 0;
    padding-block-start: 0.15rem;
  }
  h1 {
    font-size: 3.5rem;
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .lede {
    margin-block-start: 1.5rem;
    font-size: 1.375rem;
  }
  .work {
    display: contents;
  }
  .work-text {
    grid-area: work;
    align-self: start;
    margin-block-start: 8rem;
    gap: 0.5rem;
  }
  .work-name {
    font-size: 1.625rem;
  }
  .thumb {
    grid-area: thumb;
    inline-size: 100%;
    margin-block-start: 8rem;
  }
  .foot {
    margin-block-start: 6rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
.theme {
  position: relative;
}
.theme::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 50%;
  block-size: max(100%, 2.75rem);
  transform: translateY(-50%);
}
