:root {
  --cream: #f4f0e6;
  --ink: #1c1b18;
  --muted: #8b8473;
  --muted-strong: #6d6757;
  --rule: rgba(28, 27, 24, 0.12);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --pad: clamp(1.5rem, 4vw, 2.75rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: var(--pad);
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(28, 27, 24, 0.12);
}

/* wordmark */
.brand {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted-strong);
}

/* centered block */
.center {
  margin: auto 0;
  width: 100%;
  max-width: 34rem;
  padding: clamp(2.5rem, 8vh, 5rem) 0;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 3.75rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.lede {
  margin-top: 1.1rem;
  max-width: 32ch;
  font-size: clamp(1.0625rem, 2.4vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--muted-strong);
}

/* links */
.links {
  margin-top: clamp(2.5rem, 6vh, 3.5rem);
}

.links__label {
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.links ul {
  list-style: none;
  border-top: 1px solid var(--rule);
}

.links li {
  border-bottom: 1px solid var(--rule);
}

.links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0.1rem;
  font-size: 1.0625rem;
  font-weight: 450;
  text-decoration: none;
  color: var(--ink);
  transition: padding-left 0.3s var(--ease);
}

.role {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}

.links a:hover,
.links a:focus-visible {
  padding-left: 0.45rem;
  outline: none;
}

.links .label {
  padding-bottom: 1px;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 0.35s var(--ease);
}

.links a:hover .label,
.links a:focus-visible .label {
  background-size: 100% 1px;
}

.links .arrow {
  font-size: 0.95rem;
  color: var(--muted);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.links a:hover .arrow,
.links a:focus-visible .arrow {
  transform: translateX(4px);
  color: var(--ink);
}

/* footer */
.meta {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.meta a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.meta a:hover,
.meta a:focus-visible {
  border-bottom-color: currentColor;
  outline: none;
}

/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(10px);
    animation: rise 0.7s var(--ease) forwards;
  }
  .d1 { animation-delay: 0.05s; }
  .d2 { animation-delay: 0.12s; }
  .d3 { animation-delay: 0.2s; }
  .d4 { animation-delay: 0.28s; }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}
