/* ==========================================================================
   Home-only layout (release 2 candidate 2026-11-02).
   Loaded only by index.html, after styles.css, so no other page changes.
   Spacing steps: 8, 16, 24, 32, 48, 64, 72, 80.
   Mono is kept for metadata only (role line, "Currently",
   copyable address). Actions and engagement labels use the sans.
   ========================================================================== */

body.home .wrap { max-width: 1120px; padding: 0 40px; }

/* header: aligned nav, larger touch targets */
body.home header.site { align-items: center; padding: 18px 0; margin-bottom: 64px; }
body.home header.site nav { display: flex; gap: 8px; margin: 0; }
body.home header.site nav a { margin: 0; padding: 12px 10px; min-height: 44px; display: inline-flex; align-items: center; }
body.home header.site nav a:last-child { padding-right: 0; }
body.home header.site .name { padding: 12px 0; }

/* one reading axis: every section shares the shell's left edge and a 720px column.
   Only the hero headline runs wider. Navigation stays in the full 1120px shell. */
body.home main > section { max-width: 720px; margin-bottom: 64px; }
body.home main > section#hero { max-width: none; margin-bottom: 72px; }
body.home main > section:last-child { margin-bottom: 80px; }

/* hero */
body.home #hero .role { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 16px; }
body.home #hero h1 { max-width: 880px; margin-bottom: 24px; }
body.home #hero .sub { max-width: 720px; }
body.home #hero .cta { margin-top: 32px; }

/* section headings sit above their content, on the same left edge */
body.home main > section > h2 {
  font-size: 26px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em;
  margin: 0 0 20px; text-wrap: balance;
}
body.home main > section > .body > :last-child { margin-bottom: 0; }

/* when teams bring me in: situations at the larger body size, then two engagement examples */
body.home #hire .situation { font-size: 19px; margin-bottom: 16px; }
body.home #hire .role-line { margin: 24px 0 32px; }
body.home ul.engagements { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
body.home ul.engagements li { border-left: 2px solid var(--rule); padding: 2px 0 2px 16px; }
body.home ul.engagements .k { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
body.home ul.engagements p { font-size: 15px; line-height: 1.55; color: var(--ink); margin: 0; }

/* how I work: numbered, spacing instead of rules */
body.home ol.steps li { border-bottom: none; padding: 0 0 16px; }
body.home ol.steps li:last-child { padding-bottom: 0; }
body.home ol.steps li::before { color: var(--muted); padding-top: 2px; }
body.home ol.steps li p { margin: 0; }

/* selected work: three projects, same title size, one rule between each. No company labels. */
body.home .case.primary { border-top: none; padding-top: 0; margin-bottom: 24px; }
body.home .case.primary h3 { font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
body.home .case.primary h3 a { display: inline-block; padding: 6px 0; }
body.home .case.primary p { margin-bottom: 8px; }
body.home ul.worklist { border-top: 1px solid var(--rule); margin-bottom: 8px; }
body.home ul.worklist li { border-top: none; padding: 24px 0 0; }
body.home ul.worklist li + li { border-top: 1px solid var(--rule); margin-top: 24px; }
body.home ul.worklist li b { display: block; font-size: 19px; line-height: 1.3; font-weight: 600; padding: 6px 0; margin-bottom: 8px; }
body.home ul.worklist li p { margin: 0; color: var(--ink); }

/* working together */
body.home #together .lead { margin-bottom: 16px; }
body.home #together .current { font-size: 14px; color: var(--muted); margin: 0; }
body.home #together .current .k { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; margin-right: 8px; }
body.home #together .cta { margin-top: 24px; }
body.home #together .alt { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
body.home #together .alt a { color: var(--muted); }

/* actions: sans, 44px targets. Primary stays a filled button; secondary stays a text link with an arrow. */
body.home .btn { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0; padding: 0 20px; }
body.home .more { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--sans); font-size: 15px; font-weight: 500; border: none; }
body.home .more:hover { color: var(--accent); }
body.home .addr { font-family: var(--mono); font-size: 14px; color: var(--ink); user-select: all; }
body.home a:focus-visible, body.home .btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* footer: identity, copyable email, links */
body.home footer.site p { margin: 0 0 6px; }
body.home footer.site .f-mail { color: var(--muted); }
body.home footer.site nav { display: flex; gap: 20px; flex-wrap: wrap; }
body.home footer.site a { display: inline-block; padding: 12px 0; border-bottom: none; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; }
body.home footer.site a:hover { text-decoration-color: var(--accent); }

@media (max-width: 600px) {
  body.home main > section > h2 { font-size: 24px; margin-bottom: 16px; }
  body.home .wrap { padding: 0 20px; }
  body.home header.site { flex-direction: row; justify-content: space-between; margin-bottom: 40px; }
  body.home header.site nav { gap: 2px; }
  body.home header.site nav a { padding: 12px 8px; }
  body.home main > section#hero { margin-bottom: 56px; }
  body.home #hero .cta { margin-top: 24px; }
  body.home main > section:not(#hero) { margin-bottom: 56px; }
  body.home #hire .situation { font-size: 17px; }
  body.home #hire .role-line { margin: 16px 0 24px; }
  body.home ul.engagements { grid-template-columns: 1fr; gap: 24px; }
  body.home .cta { gap: 8px 24px; }
}
