:root {
  color-scheme: light;
  --bg: #f6f3ee;
  --ink: #1b1916;
  --muted: #5a554f;
  --accent: #5a2da8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Literata", "Times New Roman", Times, serif;
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.6;
  position: relative;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.7), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.05), transparent 55%),
    radial-gradient(circle at 30% 70%, rgba(0, 0, 0, 0.035), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.4), transparent 55%),
    radial-gradient(circle, rgba(0, 0, 0, 0.018) 0.6px, transparent 0.6px),
    radial-gradient(circle, rgba(0, 0, 0, 0.012) 0.8px, transparent 0.8px);
  background-size: auto, auto, auto, auto, 6px 6px, 10px 10px;
  opacity: 0.75;
  pointer-events: none;
  z-index: -1;
}

.wrap {
  max-width: 720px;
  padding: clamp(2.5rem, 6vw, 6rem) clamp(1.5rem, 6vw, 5rem)
    clamp(2.5rem, 6vw, 4rem);
  margin: 0 auto;
  width: 100%;
  flex: 1;
}

.intro {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.handle {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.4rem, 5.5vw, 3.7rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

@media (min-width: 900px) {
  h1 {
    font-size: clamp(2.2rem, 3.2vw, 3rem);
    white-space: nowrap;
  }
}

.tagline {
  margin: 0;
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  color: var(--accent);
  font-weight: 500;
}

.about {
  margin-bottom: clamp(2.8rem, 5vw, 4.5rem);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--muted);
}

.about h2,
.cadence h2,
.links h2 {
  margin: 0 0 clamp(1.2rem, 3vw, 1.8rem);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  position: relative;
  padding-top: clamp(1.6rem, 4vw, 2.4rem);
}

.about h2::before,
.cadence h2::before,
.links h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(27, 25, 22, 0.25);
}
.about p {
  margin: 0 0 1rem;
}

.about p:last-of-type {
  margin-bottom: 0;
}

.cadence {
  margin-bottom: clamp(2.8rem, 5vw, 4.5rem);
}

.footer {
  text-align: center;
  padding: 0.75rem 1.5rem 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.cadence-list {
  display: grid;
  gap: 0.6rem;
}

.cadence-item {
  display: grid;
  grid-template-columns: minmax(80px, 110px) 1fr;
  gap: 0.5rem;
  align-items: baseline;
}

.cadence-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-family: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--accent);
}

.cadence-item p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  text-align: center;
}

.links h2 {
  margin-bottom: 0.4rem;
}

.link-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
}

.link-label {
  text-transform: lowercase;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.link-url {
  font-size: 0.98em;
  color: var(--muted);
  text-decoration: none;
  background-image: linear-gradient(
    90deg,
    rgba(90, 45, 168, 0.35),
    rgba(90, 45, 168, 0.85)
  );
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition:
    color 0.2s ease,
    background-size 0.35s ease;
}

.link-url:hover,
.link-url:focus {
  color: var(--accent);
  background-size: 100% 2px;
}
