
.mh--a { --mh-h: 76px; position: sticky; top: 0; z-index: 40; color: var(--bone); }
.mh--a .mh-in, .mh--a .header-edge { position: relative; z-index: 1; }
.mh--a .mh-in { background: var(--field); display: flex; align-items: center; gap: 12px 16px; max-width: var(--max); min-height: var(--mh-h); margin-inline: auto; padding: 6px var(--gutter); }
.mh--a .wordmark { flex: none; }
.mh--a .mh-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; min-width: 0; }
.mh--a ul { margin: 0; padding: 0; list-style: none; }
.mh--a .mh-scrim { display: none; position: fixed; inset: 0; z-index: 0; background: rgba(10, 11, 14, .5); }

.mh--a .mh-menu, .mh--a .mh-toggle, .mh--a .mh-sheet-top, .mh--a .mh-sheet-foot, .mh--a .mp-panel { display: none; }
.mh--a .mh-sheet { display: contents; }
.mh--a .mh-tabs { display: flex; gap: 2px; }
.mh--a .mh-top { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; color: var(--bone); font-weight: 700; text-decoration: none; }
.mh--a .mh-tab:first-child { display: none; }
.js .mh--a .mh-top { display: none; }
.js .mh--a .mh-toggle { display: inline-flex; }

.mh--a .mh-toggle { flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-width: 64px; min-height: 60px; padding: 6px 12px 0; white-space: nowrap; border: 0;
  border-radius: var(--radius) var(--radius) 0 0; background: none; color: var(--bone-soft); font: 700 .8rem/1 var(--face); font-stretch: 105%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mh--a .mh-toggle .nav-piece { --cs: 6px; grid-template-columns: repeat(4, var(--cs)); grid-template-rows: repeat(2, var(--cs)); gap: 1px; margin: 0; }
.mh--a .mh-toggle[aria-expanded="true"] .nav-piece { transform: rotate(180deg); }
@media (prefers-reduced-motion: no-preference) { .mh--a .mh-toggle .nav-piece { transition: transform var(--m-step, 120ms) steps(2, end); } }
@media (hover: hover) { .mh--a .mh-toggle:hover { color: var(--bone); background: var(--field-2); } }
.mh--a .mh-toggle[aria-expanded="true"] { color: var(--bone); background: var(--field-2); }
.mh--a .mh-tab.is-here .mh-toggle { box-shadow: inset 0 -3px 0 var(--th-accent); }
.mh--a .mh-toggle > span:last-child { padding-bottom: 8px; }

.mh--a .mh-tools { display: flex; align-items: center; gap: 0; margin-left: 6px; padding-left: 8px; border-left: 1px solid var(--field-line); }
.mh--a .mh-tools .mi { --tile: 30px; --cs: 5px; flex-direction: column; justify-content: center; gap: 6px; width: auto; min-width: 58px; min-height: 60px; padding: 6px 8px 8px; border-radius: var(--radius); text-align: center; }
.mh--a .mh-tools .mi-text { justify-items: center; }
.mh--a .mh-tools .mi-text > span:not(.mi-short):not(.mi-long) { display: none; }
.mh--a .mh-tools .mi-text > strong { font-size: .8rem; line-height: 1; white-space: nowrap; font-weight: 700; color: var(--bone-soft); }
.mh--a .mh-tools .mi-long, .mh--a .mh-tools .mi-key { display: none; }
.mh--a .mh-tools .mi-short { display: inline; }
@media (hover: hover) { .mh--a .mh-tools .mi:hover .mi-text > strong { color: var(--bone); } }
.mh--a .mh-tools .mi--score .mi-text > strong { color: var(--bone-soft); }
.mh--a .mh-tools .mi--score .mi-num { font-size: .8rem; }
.mh--a .mh-tools .mi[data-here] .mi-text > strong::after { content: none; }
.mh--a .mh-tools .mi--ask .mi-tile .sprite { --spx: 1; }
.mh--a .mh-tools .mi--ask .mi-tile { --tile: 36px; }

.mh--a .mh-li { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 6px; color: var(--bone); font-weight: 700; text-decoration: none; }
.mh--a .li-mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 4px; background: #0a66c2; color: #fff; font: 800 .82rem/1 var(--face); }
.mh--a .mh-li-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (hover: hover) { .mh--a .mh-li:hover { background: var(--field-2); border-radius: var(--radius); } }
.mh--a .mh-resume { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: var(--radius); background: var(--field-2);
  color: var(--bone); font: 750 .95rem/1 var(--face); text-decoration: none; box-shadow: inset 0 0 0 2px var(--field-edge), inset 0 -3px 0 rgba(0, 0, 0, .3); }
@media (hover: hover) { .mh--a .mh-resume:hover { background: #242833; } }
.mh--a .mh-resume[data-here] { box-shadow: inset 0 0 0 2px var(--th-accent), inset 0 -3px 0 rgba(0, 0, 0, .3); }

.mh--a .mi--hub { --tile: 48px; --cs: 8px; min-height: 60px; background: var(--field); box-shadow: inset 0 0 0 2px var(--field-edge); }
.mh--a .mi--hub .mi-tile { background: var(--field-2); }
.mh--a .mi--hub .mi-text > strong { font-size: 1.12rem; }
.mh--a .mi--hub[data-here] { box-shadow: inset 0 0 0 2px var(--th-accent); }
.mh--a .mp-site { align-items: flex-start; }
.mh--a .mi--site { align-items: flex-start; padding-block: 6px; }
.mh--a .mp-visit { margin-top: 4px; }
.mh--a .mp-card { display: grid; gap: 6px; padding: 16px; background: var(--field); border-radius: 3px; border-top: 5px solid var(--piece-t); color: var(--bone); text-decoration: none; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .3); }
.mh--a .mp-feature--post .mp-card { border-top-color: var(--piece-j); } .mh--a .mp-feature--photo .mp-card { border-top-color: var(--piece-i); }
@media (hover: hover) { .mh--a .mp-card:hover { background: #20232c; } }
.mh--a .mp-card .nf-label { color: var(--bone-soft); font: 400 .8rem/1 "DotGothic16", ui-monospace, monospace; letter-spacing: .06em; }
.mh--a .mp-big { color: var(--number); font-size: 2.3rem; font-weight: 900; line-height: 1; font-stretch: 125%; }
.mh--a .mp-title { font-size: 1.05rem; line-height: 1.25; }
.mh--a .mp-card .nf-text, .mh--a .mp-card .nf-src { color: var(--bone-soft); font-size: .86rem; line-height: 1.35; }
.mh--a .mp-card--photo { grid-template-columns: 72px 1fr; align-items: center; }
.mh--a .mp-card--photo img { border-radius: 2px; }
.mh--a .mh-motto a { display: inline; min-height: 0; }
.mh--a .mh-motto { margin: 0; color: var(--bone); font: 800 clamp(1.3rem, 1.8vw, 1.7rem)/1.3 var(--face); font-stretch: 112%; }
.mh--a .mp-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mh--a .mi--route { flex-wrap: wrap; align-content: flex-start; min-height: 96px; padding: 10px; gap: 10px 12px; background: var(--field); box-shadow: inset 0 4px 0 var(--out); }
.mh--a .mi--route .mi-go { flex-basis: 100%; margin: 0; padding: 0; color: var(--out); font-weight: 800; }
.mh--a .mi--route[data-outcome="step"] .mi-go { color: var(--bone-soft); }
.mh--a .mi--route .mi-text { flex: 1 1 0; }

@media (min-width: 1200px) {
  .mh--a .mh-panels { position: absolute; left: 0; right: 0; top: calc(100% + 5px); z-index: 2; }
  .mh--a .mp-panel.is-open { display: block; background-color: var(--field-2);
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 24px 24px;
    border-top: 1px solid var(--field-line); box-shadow: 0 24px 48px rgba(0, 0, 0, .5);
    max-height: calc(100dvh - var(--mh-bottom, 86px) - 17px); overflow-y: auto; overscroll-behavior: contain; }
  .mh--a .mp-panel-in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px 36px; align-items: start; max-width: var(--max); margin-inline: auto; padding: 22px var(--gutter) 28px; }
  .mh--a .mp-panel-in--start { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
  .mh--a .mp-body { display: grid; gap: 14px; min-width: 0; }
  .mh--a .mp-cols { display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); gap: 12px 32px; }
  .mh--a [data-section="work"] .mp-cols { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .mh--a [data-section="work"] .mp-col--links .mp-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
  .mh--a .mp-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
  .mh--a [data-section="writing"] .mp-col:last-child .mp-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  .mh--a .mp-feature { align-self: start; }
  .mh--a .mp-panel-in:has(.mp-feature--eevee) { grid-template-columns: minmax(0, 1fr) minmax(0, 620px); }
  .mh--a .mp-feature--eevee .mp-evo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mh--a .mp-tools { display: none; }
  .mh--a.has-open .mh-scrim { display: block; }
}
@media (min-width: 1200px) and (max-width: 1359px) { .js .mh--a .mh-tab:first-child { display: none; } }
@media (min-width: 1360px) { .js .mh--a .mh-tab:first-child { display: block; } }

@media (max-width: 1199px) {
  .mh--a { --mh-h: 64px; }
  .mh--a .mh-scrim { display: none !important; }
  .mh--a .mh-in { gap: 4px; padding: 6px 10px; min-height: var(--mh-h); }
  .mh--a .wordmark { gap: 6px; min-width: 0; flex: 0 1 auto; }
  .mh--a .wm-text { gap: 3px; min-width: 0; }
  .mh--a .wm-name { font-size: .8rem; font-stretch: 106%; } .mh--a .wm-role { font-size: .58rem; }
  .mh--a .wordmark .hs-logo { width: 30px; }
  .mh--a .mh-nav { gap: 2px; margin-left: auto; flex: none; }
  .mh--a .mh-menu .nav-piece { --cs: 5px; }
  .js .mh--a .mh-tab:first-child { display: block; }
  .mh--a .mh-tools { margin: 0; padding: 0; border: 0; gap: 0; }
  .mh--a .mh-tools .mi:not(.mi--ask) { display: none; }
  .mh--a .mh-tools .mi--ask { --tile: 40px; width: 44px; min-width: 44px; min-height: 44px; padding: 2px; justify-content: center; }
  .mh--a .mh-tools .mi--ask .mi-text { display: none; }
  .mh--a .mh-tools .mi--ask .mi-tile { background: var(--piece-i); box-shadow: inset 0 0 0 2px #192c2a; border-radius: 50%; }
  .mh--a .mh-li--bar { display: none; }
  .mh--a .mh-resume { min-height: 44px; padding: 0 10px; font-size: .84rem; }
  .js .mh--a .mh-menu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px 0 9px; border: 0; border-radius: var(--radius); background: var(--field-2);
    color: var(--bone); font: 750 .88rem/1 var(--face); cursor: pointer; box-shadow: inset 0 0 0 2px var(--field-edge), inset 0 -3px 0 rgba(0, 0, 0, .3); -webkit-tap-highlight-color: transparent; }
  .mh--a .mh-menu .nav-piece { grid-template-columns: repeat(4, var(--cs)); grid-template-rows: repeat(2, var(--cs)); gap: 1px; }
  .mh--a .mh-menu[aria-expanded="true"] .nav-piece { transform: rotate(90deg); }
  @media (prefers-reduced-motion: no-preference) { .mh--a .mh-menu .nav-piece { transition: transform var(--m-step, 120ms) steps(2, end); } }
  .mh--a .mh-menu-close, .mh--a .mh-menu[aria-expanded="true"] .mh-menu-open { display: none; }
  .mh--a .mh-menu[aria-expanded="true"] .mh-menu-close { display: inline; }
  .mh--a .mh-menu { order: 3; } .mh--a .mh-resume { order: 2; } .mh--a .mh-tools { order: 1; }
  @media (max-width: 380px) { .mh--a .wordmark .hs-logo { display: none; } }
  @media (max-width: 345px) { .js .mh--a .mh-menu-open, .js .mh--a .mh-menu-close { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .js .mh--a .mh-menu { padding: 0 11px; } }
  @media (min-width: 600px) { .mh--a .wm-name { font-size: 1.05rem; } .mh--a .wm-role { font-size: .7rem; } .mh--a .wordmark .hs-logo { width: 38px; } .mh--a .mh-in { padding-inline: var(--gutter); gap: 8px; } }

  html:not(.js) .mh--a .mh-in { flex-wrap: wrap; }
  html:not(.js) .mh--a .mh-nav { width: 100%; flex-wrap: wrap; }
  html:not(.js) .mh--a .mh-tabs { flex-wrap: wrap; }

  .mh--a .mh-sheet { display: none; position: absolute; inset: calc(100% + 5px) 0 auto; height: calc(100dvh - var(--mh-bottom, 69px)); flex-direction: column; overflow: hidden; background-color: var(--field);
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 24px 24px; border-top: 1px solid var(--field-line); }
  .mh--a .mh-nav.is-sheet .mh-sheet { display: flex; }
  .mh--a .mh-sheet-top { display: block; flex: none; width: 100%; max-width: 720px; margin-inline: auto; padding: 10px 12px 4px; }
  .mh--a .mh-sheet-top .mi--search { background: var(--field-2); box-shadow: inset 0 0 0 2px var(--field-edge); min-height: 52px; }
  .mh--a .mh-sheet-top .mi-key { display: none; }
  .mh--a .mh-tabs { flex: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; width: 100%; max-width: 720px; margin-inline: auto; padding: 4px 8px 0; }
  .mh--a .mh-tab { min-width: 0; }
  .mh--a .mh-toggle { width: 100%; min-width: 0; padding: 6px 2px 0; font-size: .74rem; letter-spacing: 0; text-align: center; }
  .mh--a .mh-toggle > span:last-child { display: block; max-width: 100%; white-space: normal; line-height: 1.1; padding-bottom: 8px; }
  .mh--a .mh-toggle[aria-expanded="true"] { background: var(--field-2); box-shadow: inset 0 3px 0 var(--bone); }
  .mh--a .mh-tab.is-here .mh-toggle { box-shadow: inset 0 -3px 0 var(--th-accent); }
  .mh--a .mh-tab.is-here .mh-toggle[aria-expanded="true"] { box-shadow: inset 0 3px 0 var(--bone), inset 0 -3px 0 var(--th-accent); }
  .mh--a .mh-toggle .nav-piece { transform: none !important; }
  .mh--a .mh-panels { position: static; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; background: var(--field-2); border-top: 1px solid var(--field-line); }
  .mh--a .mp-panel.is-open { display: block; }
  .mh--a .mp-panel-in { display: grid; gap: 14px; max-width: 720px; margin-inline: auto; padding: 14px 12px 20px; }
  .mh--a .mp-body { display: grid; gap: 12px; }
  .mh--a .mp-cols { display: grid; gap: 14px; }
  .mh--a .mp-feature { display: none; }
  .mh--a #mp-how .mp-feature { display: block; }
  .mh--a .mh-motto { margin: 0; color: var(--bone); font: 750 1.02rem/1.35 var(--face); }
  .mh--a .mp-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mh--a .mi--route { flex-wrap: wrap; align-content: flex-start; min-height: 104px; padding: 10px; gap: 8px 10px; background: var(--field); box-shadow: inset 0 4px 0 var(--out); }
  .mh--a .mi--route .mi-tile { --tile: 32px; --cs: 5px; }
  .mh--a .mi--route .mi-text { flex: 1 1 100%; order: 3; }
  .mh--a .mi--route .mi-text > strong { font-size: .95rem; }
  .mh--a .mi--route .mi-text > span { font-size: .8rem; }
  .mh--a .mi--route .mi-go { order: 2; margin: 0 0 0 auto; padding: 0; color: var(--out); font-weight: 800; font-size: .8rem; }
  .mh--a .mi--route[data-outcome="step"] .mi-go { color: var(--bone-soft); }
  .mh--a .mp-tools { display: grid; gap: 6px; }
  .mh--a .mp-tools .mi { background: var(--field); box-shadow: inset 0 0 0 2px var(--field-edge); min-height: 56px; padding: 4px 10px 4px 4px; }
  .mh--a .mp-tools .mi[data-here] { box-shadow: inset 0 0 0 2px var(--th-accent); }
  .mh--a .mp-tools .mi--score .mi-num { font-size: 1rem; }
  .mh--a .mh-sheet-foot { display: flex; flex: none; justify-content: center; gap: 8px; padding: 8px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--field); border-top: 1px solid var(--field-line); }
  .mh--a .mh-sheet-foot .mh-li { flex: 1; max-width: 720px; gap: 10px; min-height: 48px; background: var(--field-2); border-radius: var(--radius); box-shadow: inset 0 0 0 2px var(--field-edge); }
  .mh--a .mh-sheet-foot .mh-li-text { position: static; width: auto; height: auto; clip-path: none; overflow: visible; }
  .mh--a .mp-groups { display: grid; gap: 4px; }
  @media (min-width: 600px) { .mh--a .mp-routes { grid-template-columns: repeat(4, minmax(0, 1fr)); } .mh--a .mp-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
}

.mh--a .mp-panel { --ring: var(--tab, var(--bone)); }
.mh--a .mp-panel.is-open { border-top: 3px solid var(--tab, var(--field-line)); }
.mh--a .mp-panel :is(.mp-head, .mp-sub) { color: var(--tab, var(--bone-soft)); }
.mh--a .mp-panel .mp-card { border-top-color: var(--tab, var(--piece-t)); }
@media (hover: hover) { .mh--a .mp-panel .mi:hover { box-shadow: inset 0 0 0 2px var(--tab, var(--bone)); } }
.mh--a .mp-total .nf-text { color: var(--bone); }
.mh--a .mp-total .nf-src { font-size: .78rem; }

.mh--a .mh-tools .mi--score { gap: 3px; min-width: 76px; padding: 7px 9px 8px; background: var(--screen); box-shadow: inset 0 0 0 2px var(--screen-edge), inset 0 -3px 0 rgba(0, 0, 0, .4); }
.mh--a .mh-tools .mi--score .mi-tile { display: none; }
.mh--a .mh-tools .mi--score .mi-text > strong { display: grid; justify-items: center; gap: 4px; color: var(--bone-soft); }
.mh--a .mh-tools .mi--score .mi-short { display: block; font: 400 .66rem/1 "DotGothic16", ui-monospace, monospace; letter-spacing: .12em; color: var(--bone-soft); }
.mh--a .mh-tools .mi--score .mi-short::after { content: "-SCORE"; }
.mh--a .mh-tools .mi--score .mi-num { display: block; color: var(--number); font: 400 1rem/1 "DotGothic16", ui-monospace, monospace; letter-spacing: .04em; text-transform: uppercase; }
@media (hover: hover) { .mh--a .mh-tools .mi--score:hover { background: #12141b; } }

@media (min-width: 1200px) {
  .mh--a #mp-work .mp-panel-in { grid-template-columns: minmax(0, 1fr) 280px; gap: 12px 28px; padding-block: 16px 20px; }
  .mh--a #mp-work .mp-body { gap: 10px; }
  .mh--a #mp-work .mi--hub { min-height: 52px; }
  .mh--a #mp-work .mp-groups { gap: 0 20px; }
  .mh--a #mp-work .mp-group .mp-sub { margin-top: 2px; }
  .mh--a #mp-work .mi--site { padding-block: 4px; }
  .mh--a #mp-work .mi--site .mi-text > span { font-size: .8rem; line-height: 1.3; }
  .mh--a #mp-work .mp-col--links .mp-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; }
  .mh--a #mp-work .mp-feature { grid-row: 1; grid-column: 2; }
}

@media (prefers-reduced-motion: no-preference) {
  .mh--a .mp-panel.is-open { animation: mha-in var(--m-in, 200ms) var(--ease-out, ease-out) both; }
  @keyframes mha-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .mh--a .mp-panel.is-open .mi-tile > * { --drop: 10px; animation: lock-drop var(--m-lock, 240ms) steps(4, end) both; }
  .mh--a .mp-panel.is-open li:nth-child(2) .mi-tile > * { animation-delay: 40ms; } .mh--a .mp-panel.is-open li:nth-child(3) .mi-tile > * { animation-delay: 80ms; }
  .mh--a .mp-panel.is-open li:nth-child(4) .mi-tile > * { animation-delay: 120ms; } .mh--a .mp-panel.is-open li:nth-child(5) .mi-tile > * { animation-delay: 160ms; }
}
