:root {
  --ink: #1c2430;
  --ink-soft: #4a5568;
  --ink-faint: #6b7789;
  --paper: #eef2f5;
  --paper-deep: #dfe7ee;
  --accent: #0b6b6e;
  --accent-hover: #085456;
  --line: rgba(28, 36, 48, 0.12);
  --shadow-photo: 0 18px 40px rgba(28, 36, 48, 0.14);
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Figtree", "Helvetica Neue", sans-serif;
  --max: 68rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  background:
    radial-gradient(ellipse 90% 55% at 12% -10%, rgba(11, 107, 110, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 88% 8%, rgba(70, 100, 140, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(11, 107, 110, 0.08), transparent 55%),
    linear-gradient(165deg, var(--paper) 0%, var(--paper-deep) 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 160ms ease;
}

a:hover,
a:focus-visible {
  color: var(--accent-hover);
}

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

.site {
  position: relative;
  z-index: 1;
}

.hero {
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 5vw, 3rem) 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 9vw, 5.25rem);
  font-weight: 500;
  font-variation-settings: "SOFT" 50, "WONK" 0.4;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--ink);
}

.hero h1 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--ink-soft);
}

.profiles {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem) clamp(3rem, 8vw, 5rem);
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
}

@media (min-width: 860px) {
  .profiles {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
  }
}

.person {
  display: grid;
  gap: 1.35rem;
}

.person-photo {
  margin: 0;
  width: min(100%, 18rem);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow-photo);
  background: var(--paper-deep);
}

.person-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.person h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.bio {
  margin: 0;
  color: var(--ink-soft);
}

.bio + .bio {
  margin-top: 0.9rem;
}

.person-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-top: 0.35rem;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.person-links a {
  font-weight: 550;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}

.person-links a:hover,
.person-links a:focus-visible {
  border-bottom-color: currentColor;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(0.85rem);
  animation: rise 0.9s var(--ease) forwards;
}

.hero .brand {
  animation-delay: 0.05s;
}

.hero h1 {
  animation-delay: 0.18s;
}

.person:nth-child(1) {
  animation-delay: 0.22s;
}

.person:nth-child(2) {
  animation-delay: 0.38s;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
