/* Toni J. West — main stylesheet */

:root {
  --bg: #faf8f5;
  --surface: #f0ebe4;
  --text: #4a4540;
  --muted: #6e665c;
  --faint: #b8b0a6;
  --accent: #8f7040;
  --accent-bg: #f2e9dc;
}

body {
  font-family: Georgia, 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  margin: 0;
}

h1, h2, h3 {
  text-align: center;
}

/* Site header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.55rem 1.25rem;
  margin: 0;
  text-align: left;
}
.site-title {
  font-family: system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
  line-height: 1;
}
.site-title a {
  color: inherit;
  text-decoration: none;
}
.site-title a:hover,
.site-title a:focus-visible {
  text-decoration: underline;
  outline: none;
}
.site-title a[aria-current="page"] {
  text-decoration: none;
}

/* Home — hook */
.hook {
  position: relative;
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 22vh 2rem 4rem;
  gap: 4rem;
}
.hook-lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.hook-title {
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
  max-width: 22ch;
  margin: 0;
  line-height: 1.35;
}
.hook-tagline {
  font-family: system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0;
  max-width: 28ch;
}
.hook-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--muted);
  text-decoration: none;
  opacity: 0.6;
}
.hook-scroll:hover,
.hook-scroll:focus-visible {
  opacity: 0.9;
  outline: none;
}
.hook-scroll-icon {
  display: block;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.2rem;
}

/* Home — mantra */
.mantra {
  text-align: center;
  padding: 0 2rem;
}
.ml {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
  width: 22ch;
  margin: 0 auto;
}
.ml-soft {
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.02em;
  width: auto;
  max-width: 36ch;
}

/* Divider */
.dv {
  width: 1px;
  height: 56px;
  margin: 0 auto;
  background: var(--faint);
  opacity: 0.65;
}

/* Home — distinction */
.dist {
  padding: 6rem 2rem 5rem;
  text-align: center;
}
.dist-label {
  font-family: system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 2rem;
}
.dist-h {
  font-size: 1.8rem;
  font-weight: normal;
  line-height: 1.25;
  margin: 0 0 3rem;
}
.neq { color: var(--accent); }

/* Home — cards */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 580px;
  margin: 0 auto;
}
@media (min-width: 540px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
.card {
  padding: 1.75rem;
  border-radius: 10px;
  text-align: left;
}
.card-a { background: var(--surface); }
.card-b { background: var(--accent-bg); }
.card-lbl {
  font-family: system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.65rem;
}
.card-q {
  font-size: 1.05rem;
  line-height: 1.55;
  font-style: italic;
  margin: 0;
}

/* Home — closing */
.end {
  padding: 5rem 2rem 7rem;
  text-align: center;
}
.end-headline {
  font-size: 1.4rem;
  font-weight: normal;
  line-height: 1.35;
  max-width: 26ch;
  margin: 0 auto 3rem;
}
.end-rule {
  width: 100%;
  max-width: 12rem;
  height: 1px;
  margin: 0 auto 3rem;
  border: 0;
  background: var(--faint);
  opacity: 0.65;
}
.end-start {
  margin: 0;
  font-size: 1.5rem;
}
.end-start a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.end-start a:hover,
.end-start a:focus-visible {
  border-bottom-color: var(--accent);
  outline: none;
}

/* Welcome / prose pages */
.note {
  max-width: 38rem;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
.note h1 {
  font-size: 1.65rem;
  font-weight: normal;
  line-height: 1.3;
  margin: 0 0 2.5rem;
  letter-spacing: -0.01em;
}
.note p {
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
}
.note p:last-child {
  margin-bottom: 0;
}
.note .closing {
  margin-top: 2rem;
  font-size: 1.1rem;
}

.pieces {
  max-width: 38rem;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  text-align: center;
}
.pieces h2 {
  font-size: 1.4rem;
  font-weight: normal;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Footer */
footer {
  padding: 4rem 2rem 1.5rem;
  text-align: center;
  font-family: system-ui, sans-serif;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}
body.page-note footer {
  padding: 0 2rem 2.5rem;
}
