/* Hallmark · shape: Index-First · genre: editorial · theme: Specimen (deal 1/3, seed personal-matt-mcmanus-coo-aab4·4aab5948·2026-11-20·r0) · job: hire · draw: c42b0f
 * hero: Ledge · nav: slab · footer: mast · imagery: none · signature: the name Matt set with type guides
 * axes: light/high-contrast-serif/cool · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V5 · weakest: S, a personal index could be anyone; the first screen leads with Matt and Fold */
/* Hallmark · dismissed 77 · the lost page keeps a home link and stops, a full index would invent destinations */
/* Hallmark · hero-review: fix · 2 findings · 2 resolved */
/* Hallmark · finish-review: subagent · 4 findings · 2 resolved 2 unresolved · gap: the brief locks the home headers and the matt blanks */
@import url("./tokens.css");
@import url("./base.css");

:root { --nav-h: var(--space-2xl); --text-md: 1.0625rem; }

h1, h2 { line-height: 1.02; font-variation-settings: "opsz" var(--display-optical); }
h3 { font-optical-sizing: auto; line-height: 1.15; }

.skip {
  position: absolute;
  left: var(--space-md);
  top: calc(-1 * var(--space-3xl));
  z-index: var(--z-toast);
  padding: var(--space-xs) var(--space-md);
  background: var(--color-ink);
  color: var(--color-paper);
  text-decoration: none;
}
.skip:focus { top: var(--space-md); }

.slab { background: var(--color-ink); color: var(--color-paper); }
.slab a { color: var(--color-paper); }
.slab__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: var(--nav-h);
}
.wordmark {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-variation-settings: "opsz" var(--display-optical);
  font-size: var(--text-xl);
  letter-spacing: var(--tracking-display);
  line-height: 1.02;
  text-decoration: none;
  white-space: nowrap;
  overflow-wrap: break-word;
  min-width: 0;
}
.wordmark:hover { text-decoration: underline; text-underline-offset: 0.18em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 48px;
  padding: 0 var(--space-lg);
  border: var(--rule-hair) solid var(--color-ink);
  border-radius: var(--radius-card);
  background: var(--color-ink);
  color: var(--color-paper);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-md);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.btn:hover { background: var(--color-ink-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--quiet { background: transparent; color: var(--color-ink); }
.btn--quiet:hover { background: var(--color-paper-2); }
.slab .btn--quiet { color: var(--color-paper); border-color: var(--color-paper); background: transparent; }
.slab .btn--quiet:hover { background: var(--color-ink-2); }

.hero { display: flex; flex-direction: column; }
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-2xl);
  flex: 1;
  padding-block: var(--space-xl);
}
@media (min-width: 60rem) {
  .hero { min-height: calc(100dvh - var(--nav-h)); }
}

.specimen { position: relative; display: inline-block; max-width: 100%; }
.specimen__word {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  max-width: none;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-variation-settings: "opsz" var(--display-optical);
  font-size: clamp(4.5rem, 22dvh, 15rem);
  letter-spacing: var(--tracking-display);
  line-height: 1.02;
  overflow-wrap: break-word;
  min-width: 0;
}
.specimen__line { position: relative; display: block; padding-right: calc(var(--space-4xl) + var(--space-2xl)); }
.guide {
  position: absolute;
  left: 0;
  right: calc(var(--space-4xl) + var(--space-2xl));
  border-top: var(--rule-hair) solid var(--color-guide);
  height: 0;
}
.guide--cap { top: 12%; }
.guide--x { top: 40%; }
.guide--base { top: 84%; }
.guide__name {
  position: absolute;
  left: calc(100% + var(--space-md));
  top: 0;
  z-index: var(--z-raised);
  padding-inline: var(--space-xs);
  background: var(--color-paper);
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-md); max-width: 40rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.section { padding-block: var(--section-gap); }
.section--s { padding-block: var(--section-gap-s); }
.section--l { padding-block: var(--section-gap-l); }
.section--well { background: var(--color-paper-2); }

.head { display: flex; flex-direction: column; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.section__split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  column-gap: var(--gap-columns);
  align-items: start;
}
.section__split .head { margin-bottom: 0; }

.stack { display: flex; flex-direction: column; gap: var(--space-xl); }
.stack h3 { margin-bottom: var(--space-md); }

.index { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--color-rule); }
.measure { border-top: 2px solid var(--color-rule); }
.section__split--ruled { border-top: 3px double var(--color-rule-2); }
.index__row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--gap-columns);
  row-gap: var(--space-sm);
  align-items: baseline;
  padding-block: var(--space-lg);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.index__row p { max-width: 65ch; }
.podcast-link { white-space: nowrap; font-size: var(--text-sm); }
.index__row--solo { grid-template-columns: minmax(0, 1fr); }
.index__meta { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); }

.statement {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-variation-settings: "opsz" var(--display-optical);
  font-size: var(--text-section);
  letter-spacing: var(--tracking-display);
  line-height: 1.08;
  max-width: none;
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
  border-top: 2px solid var(--color-rule);
  padding-top: var(--space-lg);
}

.fill {
  padding: 0 var(--space-2xs);
  border: var(--rule-hair) dashed var(--color-rule-2);
  color: var(--color-muted);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.home-note { max-width: 65ch; margin-top: var(--space-xl); font-size: var(--text-lg); line-height: 1.5; }

.contacts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-xl) var(--gap-columns);
  margin: var(--space-2xl) 0 0;
  padding: var(--space-lg) 0 0;
  border-top: 2px solid var(--color-rule);
}
.contacts div {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  min-width: 0;
  padding-top: var(--space-md);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.contacts dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.contacts dd { margin: 0; overflow-wrap: break-word; }

.prose { display: flex; flex-direction: column; gap: var(--space-md); max-width: 65ch; }
.prose p { max-width: 65ch; }

.photo-line { max-width: 14em; border-top: 2px solid var(--color-rule); padding-top: var(--space-lg); }

.mast { padding-block: var(--section-gap-s); border-top: var(--rule-hair) solid var(--color-rule); }
.mast__name {
  display: block;
  max-width: 12ch;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-variation-settings: "opsz" var(--display-optical);
  font-size: var(--text-display-s);
  letter-spacing: var(--tracking-display);
  line-height: 1.02;
  text-decoration: none;
  overflow-wrap: break-word;
  min-width: 0;
}
.mast__name:hover { text-decoration: underline; text-underline-offset: 0.12em; }
.mast__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
  list-style: none;
  margin: var(--space-lg) 0 0;
  padding: 0;
}
.mast__links a { white-space: nowrap; text-underline-offset: 0.18em; }
.mast__links a:hover { text-decoration-thickness: 2px; }
.mast__line { margin-top: var(--space-lg); max-width: 65ch; color: var(--color-muted); font-size: var(--text-sm); }

a { text-decoration-color: var(--color-accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

@media (max-width: 60rem) {
  .section__split, .headshot, .index__row { grid-template-columns: minmax(0, 1fr); }
  .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section__split { row-gap: var(--space-2xl); }
}
@media (max-width: 40rem) {
  .slab__bar { align-items: flex-start; flex-direction: column; padding-block: var(--space-md); }
  .specimen__line { padding-right: 0; }
  .guide { display: none; }
  .specimen__word { font-size: 4.25rem; }
  .contacts { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:active, .slab .btn--quiet:active { transform: none; }
}
