:root {
  --bg: #000;
  --fg: #fff;
  --muted: #d6d6d6;
  --serif: "Instrument Serif", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, "Times New Roman", serif;
  --text: "Cormorant Garamond", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, "Times New Roman", serif;
  --measure: 42rem;
}

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

html {
  background: var(--bg);
  color-scheme: dark;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--text);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #fff;
  color: #000;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 5;
  transform: translateY(-150%);
  padding: 0.55rem 0.85rem;
  background: #fff;
  color: #000;
  font-size: 1.05rem;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 38% 30% at 50% 46%,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.28) 48%,
    rgba(0, 0, 0, 0) 100%
  );
}

.site {
  position: relative;
  z-index: 2;
  width: min(var(--measure), 100%);
  margin-inline: auto;
  padding: 0 1.25rem 4.5rem;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-bottom: 8vh;
}

.crest {
  align-self: flex-start;
  display: block;
  width: auto;
  height: 56px;
  margin: 0 0 1.65rem;
  border: 0;
}

h1,
h2,
h3,
.venture-name {
  font-family: var(--serif);
}

h1,
h2,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.35rem, 11vw, 6.4rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.lede {
  margin: 1.15rem 0 0;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
}

.about p + p {
  margin-top: 1.15rem;
}

.about strong {
  font-weight: 600;
}

.about em {
  font-style: italic;
}

.drawing {
  width: min(240px, 72%);
  margin: 1.85rem auto 0;
}

.drawing img {
  display: block;
  width: 100%;
  height: auto;
}

.about-photos {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.frame-interview {
  width: min(18rem, 78%);
  aspect-ratio: 552 / 1200;
}

.frame-interview img {
  object-fit: contain;
  object-position: center center;
  filter: none;
}

section {
  padding-top: clamp(4.75rem, 13vh, 8.75rem);
}

.kicker {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

section p {
  margin: 0;
  max-width: 36em;
}

.portrait-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(18rem, 46%);
  gap: 1.25rem 1.75rem;
  align-items: center;
  margin-top: 1.15rem;
}

.portrait-row p {
  margin-top: 0;
}

.portrait-row-left {
  grid-template-columns: min(18rem, 46%) minmax(0, 1fr);
}

.portrait-row-left .frame {
  order: 1;
}

.portrait-row-left p {
  order: 2;
}

.about .portrait-row + p {
  margin-top: 1.15rem;
}

.frame {
  margin: 0;
  display: grid;
  border: 1px solid #fff;
  background: #000;
  overflow: hidden;
  aspect-ratio: 1084 / 1200;
}

.frame img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(1) contrast(1.04);
}

.venture {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name arrow"
    "desc desc"
    "url url";
  gap: 0.2rem 1rem;
  padding: 1.4rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease;
}

.venture + .venture {
  border-top: 0;
}

a.venture:hover,
a.venture:focus-visible {
  border-color: #fff;
}

.venture-name {
  grid-area: name;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.85rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.venture-arrow {
  grid-area: arrow;
  align-self: center;
  font-size: 1.35rem;
  line-height: 1;
}

.venture-desc {
  grid-area: desc;
  margin-top: 0.85rem;
  max-width: 36em;
}

.venture-url {
  grid-area: url;
  margin-top: 0.85rem;
  color: #dedede;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-underline-offset: 0.28em;
  overflow-wrap: anywhere;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 2rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  display: inline-block;
  padding: 0.4rem 0;
  font-size: 1.3rem;
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  text-decoration-thickness: 2px;
}

.site-footer {
  margin-top: clamp(5rem, 14vh, 9rem);
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.125rem;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .rise {
    animation: rise 1.05s ease both;
  }

  .rise-late {
    animation-delay: 0.16s;
  }

  .js .reveal:not(.is-in) {
    opacity: 0;
    transform: translateY(12px);
  }

  .js .reveal.is-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.9s ease, transform 0.9s ease;
  }

  .venture-arrow {
    transition: transform 180ms ease;
  }

  .venture:hover .venture-arrow,
  .venture:focus-visible .venture-arrow {
    transform: translateX(4px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 680px) {
  .site {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .crest {
    height: 44px;
    margin-bottom: 1.25rem;
  }

  .portrait-row,
  .portrait-row-left,
  .about-photos {
    grid-template-columns: 1fr;
  }

  .portrait-row-left .frame,
  .portrait-row-left p {
    order: 0;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 3.25rem;
  }
}

@media (min-width: 900px) {
  .site {
    padding-left: 0;
    padding-right: 0;
  }
}

@media print {
  #starfield,
  .veil {
    display: none;
  }

  body,
  html {
    background: #fff;
    color: #000;
  }

  .site {
    text-shadow: none;
    color: #000;
  }

  .kicker,
  .site-footer p,
  .venture-url,
  .lede {
    color: #000;
  }

  .frame {
    border-color: #000;
  }

  a {
    color: #000;
  }
}
