/* ==========================================================================
   About — the project and the person. A manuscript's cover sheet in
   standard format, the rules the work is built on, the author's page,
   and a colophon set in the three faces it names.
   ========================================================================== */

/* ---------- head: the cover sheet ---------- */
.ab-head {
  padding-top: calc(var(--head) + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(4.5rem, 9vw, 8rem);
  background: radial-gradient(55% 60% at 72% 55%, #102a33 0%, transparent 70%), linear-gradient(180deg, var(--abyss), var(--night));
  overflow: hidden;
}
.ab-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 4rem clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}
.ab-kicker { color: var(--signal); }
.ab-title { font-size: var(--t-xxl); font-weight: 200; margin-top: 1.25rem; }
.ab-deck { margin-top: 1.5rem; color: var(--spray); max-width: 30rem; }
.ab-prose { margin-top: 2rem; color: var(--mist); }

.ms { position: relative; justify-self: center; width: min(100%, 25rem); transform: rotate(1.8deg); margin-top: 2rem; }
.ms-clip { position: absolute; z-index: 1; top: -2.6rem; left: 50%; width: 6.5rem; transform: translateX(-50%); overflow: visible; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.45)); }
.ms-clip-body { fill: #151719; }
.ms-clip-shine { fill: none; stroke: rgba(255, 255, 255, 0.22); stroke-width: 1.5; }
.ms-clip-wire { fill: none; stroke: #aab2b6; stroke-width: 3.2; stroke-linejoin: round; }
.ms-page {
  aspect-ratio: 8.5 / 11;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 11% 10% 9%;
  background: linear-gradient(180deg, #fbfaf6, #f1efe8);
  color: #1c1c1a;
  font-family: var(--f-mono);
  font-size: clamp(0.625rem, 0.5rem + 0.45vw, 0.8125rem);
  line-height: 1.55;
  box-shadow: 0 50px 80px -40px rgba(0, 0, 0, 0.85), 0 2px 4px rgba(0, 0, 0, 0.35);
}
.ms-top { display: flex; justify-content: space-between; gap: 1rem; }
.ms-count { text-align: right; }
.ms-title { align-self: center; text-align: center; padding-bottom: 12%; }
.ms-t { font-weight: 600; font-size: 1.2em; letter-spacing: 0.08em; text-transform: uppercase; }
.ms-by { margin-top: 2.2em; }
.ms-a { margin-top: 0.4em; }
.ms-foot { text-align: center; color: #56544e; }
@media (max-width: 56rem) {
  .ab-head-grid { grid-template-columns: minmax(0, 1fr); }
  .ms { width: min(88%, 22rem); margin-top: 3rem; transform: rotate(1.2deg); }
}

/* ---------- how it is built ---------- */
.method { background: var(--night); padding-block: clamp(5rem, 10vw, 8.5rem); border-top: 1px solid rgba(143, 195, 198, 0.1); }
.method-k { color: var(--haze); }
.method-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem clamp(2rem, 4vw, 4rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.method-list li { display: flex; flex-direction: column; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(143, 195, 198, 0.3); }
.method-n { font-size: var(--t-xs); color: var(--signal); letter-spacing: 0.1em; }
.method-big { font-family: var(--f-text); font-style: italic; font-weight: 350; font-size: var(--t-l); line-height: 1.12; color: var(--salt); text-wrap: balance; }
.method-small { color: var(--mist); max-width: 24rem; }
.method-list .xref { margin-top: auto; align-self: flex-start; color: var(--spray); }
@media (max-width: 52rem) {
  .method-list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- the author ---------- */
.author { background: linear-gradient(180deg, var(--night), var(--deep)); padding-block: clamp(5rem, 10vw, 8.5rem); }
.author-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.author-k { color: var(--spray); }
.author-name { font-size: var(--t-xl); margin-top: 1rem; }
.author-bio { font-size: var(--t-m); line-height: 1.42; color: var(--salt); max-width: 36rem; text-wrap: pretty; }
/* "Also by", set the way a book sets it: centered, small capitals, the titles in italic */
.also {
  margin-top: 2.75rem;
  max-width: 36rem;
  padding-block: 1.75rem;
  border-block: 1px solid rgba(143, 195, 198, 0.22);
  text-align: center;
}
.also-k { font-family: var(--f-mono); font-size: var(--t-xxs); letter-spacing: 0.22em; text-transform: uppercase; color: var(--haze); }
.also-list { display: grid; gap: 0.9rem; margin-top: 1.1rem; }
.also-list li { display: grid; gap: 0.1rem; }
.also-list i { font-family: var(--f-text); font-size: 1.45rem; line-height: 1.2; color: var(--salt); }
.also-list span { font-size: var(--t-s); color: var(--mist); }
.contact { margin-top: 2.5rem; max-width: 36rem; color: var(--mist); display: grid; gap: 1rem; }
.contact-mail { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1rem; }
.contact-mail .label { color: var(--haze); }
.contact-mail a { font-family: var(--f-mono); font-size: 1.05rem; color: var(--signal); text-decoration-color: rgba(242, 169, 59, 0.45); overflow-wrap: anywhere; }
.contact-mail a:hover { text-decoration-color: var(--signal); }
@media (max-width: 52rem) {
  .author-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- colophon ---------- */
.colo { background: var(--deep); padding-block: clamp(5rem, 10vw, 8rem); }
.colo-k { color: var(--haze); }
.faces { margin-top: 2rem; border-top: 1px solid rgba(143, 195, 198, 0.2); }
.face {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 0.5rem 2rem;
  align-items: baseline;
  padding-block: 1.75rem;
  border-bottom: 1px solid rgba(143, 195, 198, 0.2);
}
.face-sample { font-size: var(--t-l); line-height: 1; color: var(--salt); }
.face--imbue .face-sample { font-family: var(--f-display); font-weight: 250; font-size: var(--t-xl); }
.face--news .face-sample { font-family: var(--f-text); font-style: italic; font-weight: 330; }
.face--plex .face-sample { font-family: var(--f-mono); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); letter-spacing: -0.01em; }
.face-role { color: var(--mist); }
.face-by { display: grid; gap: 0.2rem; font-family: var(--f-mono); font-size: var(--t-xxs); letter-spacing: 0.06em; color: var(--haze); }
.colo-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 3rem; margin-top: 2.5rem; color: var(--haze); font-size: var(--t-s); }
@media (max-width: 52rem) {
  .face { grid-template-columns: minmax(0, 1fr); }
  .colo-notes { grid-template-columns: minmax(0, 1fr); }
}
.also-link { display: inline-block; margin-top: 1.25rem; font-family: var(--f-mono); font-size: var(--t-xxs); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--spray); text-decoration: none; border-bottom: 1px solid rgba(143, 195, 198, 0.4); padding-bottom: 0.2rem; }
.also-link:hover { color: var(--salt); border-color: var(--salt); }
