/* Hank Ladella — Seed 855738 */

:root {
  --bg: #FFFFFF;
  --ink: #111111;
  --muted: #595959;
  --link: #0000EE;
  --link-visited: #551A8B;
  --rule: #E0E0E0;
  --font: "STIX Two Text", "Times New Roman", Times, Georgia, serif;
}

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

html {
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.68;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 1px;
}

a:visited {
  color: var(--link-visited);
}

a:hover {
  color: var(--ink);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 0.4rem 0.7rem;
  font-size: 0.875rem;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Flush-left broadsheet column (deliberately off-center on wide viewports) */
.sheet {
  max-width: 39rem;
  margin-left: clamp(1.25rem, 11vw, 8.5rem);
  margin-right: 1.5rem;
  padding: 3.75rem 0 6rem;
}

/* Bare top bar */
.top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 3.25rem;
}

.name {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.2;
}

.name a,
.name a:visited {
  color: var(--ink);
  text-decoration: none;
}

.nav {
  font-size: 0.96875rem;
  line-height: 1.4;
}

.nav a,
.nav a:visited {
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover {
  color: var(--link);
  text-decoration: underline;
}

.slash {
  margin: 0 0.45rem;
  color: var(--muted);
}

/* Sections */
.section {
  margin-bottom: 3.75rem;
}

.heading {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Bio */
.bio {
  margin: 0;
  font-size: 1.15625rem;
  line-height: 1.66;
}

/* Book */
.book {
  display: grid;
  grid-template-columns: 9.75rem minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: start;
}

.cover {
  margin: 0;
}

.cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5.5 / 8.5;
  object-fit: cover;
  border: 1px solid var(--ink);
}

.book-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
}

.book-details {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.book-blurb {
  margin: 0 0 1rem;
  font-size: 1.03125rem;
  line-height: 1.65;
}

.book-links {
  margin: 0;
  font-size: 0.96875rem;
  line-height: 1.7;
}

/* Selected Poems */
.poems-note {
  margin: -0.65rem 0 2rem;
  font-size: 0.96875rem;
  color: var(--muted);
}

.poems {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.poem {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0 0.75rem;
  align-items: baseline;
}

.num {
  font-size: 0.9rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.verse p {
  margin: 0;
  font-size: 1.09375rem;
  line-height: 1.76;
}

.verse p + p {
  margin-top: 1.25rem;
}

/* Contact */
.contact-line {
  margin: 0 0 0.9rem;
  font-size: 1.03125rem;
  line-height: 1.65;
}

.contact-line:last-child {
  margin-bottom: 0;
}

/* Footer */
.foot {
  margin-top: 4.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
  color: var(--muted);
}

.foot p {
  margin: 0;
}

@media (max-width: 640px) {
  .sheet {
    margin: 0;
    padding: 2.25rem 1.25rem 4rem;
  }

  .book {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .cover {
    max-width: 11rem;
  }

  .poem {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
