/* Nail & Hammer parts: hero, sections, job-ticket cards, steps, takeaway, FAQ, author box, share, carousel, reviews, forms, tables. */
.nh-hero{position:relative;padding-block:1.5rem 2.5rem}
.nh-hero::before{content:attr(data-kicker);display:block;width:min(100% - 2 * var(--gutter),calc(var(--wrap) - 2 * var(--gutter)));margin:0 auto 1rem;padding-inline-start:4rem;background:linear-gradient(currentColor,currentColor) left bottom/3.25rem 2px no-repeat,repeating-linear-gradient(90deg,currentColor 0 2px,transparent 2px 8.1px) left bottom/3.25rem 70% no-repeat;color:var(--green);font:600 1.1rem/1.4 var(--font-head);letter-spacing:.16em;text-transform:uppercase}
.nh-hero[data-kicker=""]::before{display:none}
.nh-hero h1{max-width:16ch;margin-bottom:.45em}
.nh-hero--page h1{max-width:22ch}
.nh-hero--home h1{max-width:26ch}
.nh-lead{max-width:44rem;font-size:1.2rem;line-height:1.6;color:var(--ink)}
.nh-hero-grid{display:grid;gap:2rem;align-items:center}
.nh-hero-art{justify-self:center;width:min(100%,24rem)}
.nh-hero-art img{display:block;width:100%}
.nh-actions{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:1.5rem}
.nh-sec{padding-block:clamp(2.5rem,6vw,4.5rem)}
.nh-sec--pale{background:var(--pale)}
.nh-sec--ink{background:var(--ink);color:#cfe3dc}
.nh-sec--ink h2,.nh-sec--ink h3,.nh-sec--ink strong{color:var(--cream)}
.nh-sec--ink a{color:var(--mint)}
.nh-sec>.nh-wrap>h2:first-child,.nh-body>h2:first-child{margin-top:0}
.nh-wrap.nh-prose{max-width:var(--wrap)}
.nh-prose>*{max-width:var(--measure)}
.nh-prose>.nh-cards,.nh-prose>.nh-steps{max-width:none}
.nh-prose>h2:first-child{margin-top:0}
/* page with rail */
.nh-split{display:grid;gap:2.5rem;padding-block:1rem 2rem}
.nh-body{min-width:0}
.nh-body>section{margin-bottom:2rem}
.nh-body>section>h2:first-child{margin-top:1.4em}
.nh-rail-col{min-width:0}
.nh-rail{padding:1.4rem;background:var(--card);border:2px solid var(--ink);border-radius:var(--r-lg);box-shadow:var(--shadow)}
.nh-rail h2,.nh-rail-title{margin:0 0 .6rem;font:700 1.35rem/1.1 var(--font-head);letter-spacing:.1em;text-transform:uppercase;color:var(--ink)}
.nh-rail ul{list-style:none;padding:0;margin:0 0 1rem}
.nh-rail li{padding:.45rem 0 .45rem 1.6rem;position:relative;border-bottom:1px dotted var(--line);margin:0}
.nh-rail li::before{content:"";position:absolute;left:0;top:.95rem;width:.7rem;height:.7rem;background:var(--green);clip-path:polygon(0 50%,40% 90%,100% 10%,85% 0,40% 60%,15% 30%)}
.nh-rail .nh-button{width:100%}
.nh-toc a{display:flex;align-items:center;min-height: 44px;color:var(--ink);font-weight:700;text-decoration:none}
.nh-toc li::before{display:none}
.nh-toc li{padding-left:0}
/* job-ticket cards */
.nh-cards{display:grid;gap:var(--gap);list-style:none;margin:1.5rem 0;padding:0}
.nh-cards>li{margin:0;display:flex}
.nh-ticket{position:relative;display:flex;flex-direction:column;width:100%;padding:1.5rem 1.4rem 1.4rem;background:var(--card);border:2px solid var(--ink);border-radius:var(--r-lg);box-shadow:var(--shadow);color:var(--body);text-decoration:none;transition:transform .15s ease,box-shadow .15s ease}
.nh-ticket::before,.nh-ticket::after{content:"";position:absolute;top:3.1rem;width:1rem;height:1rem;background:var(--paper);border:2px solid var(--ink);border-radius:50%}
.nh-ticket::before{left:-.6rem;clip-path:inset(0 0 0 50%)}
.nh-ticket::after{right:-.6rem;clip-path:inset(0 50% 0 0)}
.nh-ticket-no{display:inline-block;align-self:flex-start;margin-bottom:1rem;padding:.15rem .7rem;background:var(--tape);color:var(--ink);border:2px solid var(--ink);font:700 1.15rem/1.3 var(--font-head);letter-spacing:.12em}
.nh-ticket h3{margin:0 0 .5rem;font-size:1.7rem}
.nh-ticket p{margin:0 0 1rem}
.nh-ticket-no::before{content:attr(data-no)}
.nh-ticket .nh-ticket-more{margin:auto 0 0;padding-top:.8rem;border-top:2px dashed var(--line);font-size:1.05rem}
.nh-ticket a::after{content:"";position:absolute;inset:0;border-radius:var(--r-lg)}
.nh-ticket:focus-within{box-shadow:0 0 0 3.6px var(--tape),var(--shadow)}
.nh-ticket:hover{transform:translateY(-.2rem);box-shadow:0 .45rem 0 var(--ink)}
.nh-sec--pale .nh-ticket::before,.nh-sec--pale .nh-ticket::after{background:var(--pale)}
.nh-checks{list-style:none;padding:0}
.nh-checks li{position:relative;padding-inline-start:2rem}
.nh-checks li::before{content:"";position:absolute;left:0;top:.45rem;width:1.1rem;height:1.1rem;background:var(--green);clip-path:polygon(0 50%,40% 90%,100% 10%,85% 0,40% 60%,15% 30%)}
/* steps */
.nh-steps{counter-reset:s;list-style:none;display:grid;gap:var(--gap);margin:1.5rem 0;padding:0}
.nh-steps>li{counter-increment:s;position:relative;margin:0;padding:1.2rem 1.2rem 1.2rem 4.5rem;background:var(--card);border-inline-start:5.4px solid var(--green);border-radius:0 var(--r-lg) var(--r-lg) 0}
.nh-steps>li::before{content:counter(s);position:absolute;left:1rem;top:.9rem;width:2.6rem;height:2.6rem;display:grid;place-items:center;background:var(--ink);color:var(--tape);border-radius:50%;font:700 1.6rem/1 var(--font-head)}
.nh-steps strong{display:block;font:700 1.45rem/1.15 var(--font-head);letter-spacing:.03em}
/* facts (statistics) */
.nh-facts li::before{content:attr(data-n);display:block;font:700 2.6rem/1 var(--font-head);color:var(--green)}
.nh-facts li::after{content:attr(data-l);display:block;margin-top:.3rem;font:600 1rem/1.2 var(--font-head);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.nh-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin:1.5rem 0;padding:0;list-style:none;text-align:center}
.nh-facts li{margin:0;padding:1rem .5rem;border:2px solid var(--ink);border-radius:var(--r);background:var(--card)}
/* key takeaway */
/* FAQ */
.nh-faq{margin-top:2rem}
.nh-q{border-bottom:2px dotted var(--line)}
.nh-q:first-of-type{border-top:2px dotted var(--line)}
.nh-q summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:3.25rem;padding:.7rem .2rem;cursor:pointer;font:700 1.45rem/1.15 var(--font-head);color:var(--ink);list-style:none}
.nh-q summary::-webkit-details-marker{display:none}
.nh-q summary::after{content:"+";flex:none;display:grid;place-items:center;width:2.2rem;height:2.2rem;border:2px solid var(--ink);border-radius:50%;font:700 1.5rem/1 var(--font-head)}
.nh-q[open] summary::after{content:"\2212";background:var(--tape)}
.nh-a{padding:0 .2rem 1rem}
/* author box and share */
.nh-author{display:grid;grid-template-columns:auto 1fr;gap:1rem;align-items:start;margin:2rem 0;padding:1.3rem;background:var(--pale);border:2px solid var(--ink);border-radius:var(--r-lg)}
.nh-avatar{display:grid;place-items:center;width:4.2rem;height:4.2rem;background:var(--ink);color:var(--tape);border-radius:50%;font:700 1.8rem/1 var(--font-head);letter-spacing:.04em}
.nh-author h2,.nh-author-name{margin:0;font:700 1.5rem/1.1 var(--font-head);letter-spacing:.04em;color:var(--ink)}
.nh-author-role{margin:.1rem 0 .5rem;color:var(--muted);font-weight:700}
.nh-author p:last-child{margin-bottom:0}
.nh-byline{display:flex;flex-wrap:wrap;gap:.2rem 1rem;margin:0 0 1.2rem;font:600 1.05rem/1.4 var(--font-head);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.nh-byline a{color:var(--green)}
/* carousel */
.nh-slider{position:relative;margin:1.5rem 0}
.nh-track{position:relative;display:flex;gap:var(--gap);margin:0;padding:.4rem .4rem 1.1rem;list-style:none;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin}
.nh-track>li{flex:0 0 min(100%,24rem);margin:0;scroll-snap-align:start;display:flex}
.nh-slider-ctl{display:flex;gap:.5rem;margin-top:.2rem}
.nh-slider-ctl button{display:grid;place-items:center;width: 44px;height: 44px;background:var(--card);color:var(--ink);border:2px solid var(--ink);border-radius:50%;font:700 1.5rem/1 var(--font-head);cursor:pointer}
.nh-slider-ctl button:hover{background:var(--tape)}
.nh-slider-ctl[hidden]{display:none}
/* reviews: three owner-supplied quotes, no scores */
.nh-review{position:relative;display:flex;flex-direction:column;width:100%;margin:0;padding:1.5rem;background:var(--card);border:2px solid var(--ink);border-radius:var(--r-lg);box-shadow:var(--shadow)}
.nh-review blockquote{margin:0 0 1rem;padding:0;color:var(--ink);font-size:1.1rem}
.nh-review blockquote::before{content:"\201C";display:block;height:2.2rem;font:700 4.5rem/1 var(--font-head);color:var(--tape);-webkit-text-stroke:2px var(--ink)}
.nh-review .nh-review-tr{margin:0 0 1rem;padding-top:.75rem;border-top:2px dashed var(--line);color:var(--muted);font-size:.95rem}
.nh-review figcaption{margin-top:auto;display:flex;align-items:center;gap:.75rem}
.nh-review .nh-avatar{width: 44px;height: 44px;font-size:1.3rem}
.nh-review cite{display:block;font:700 1.3rem/1.1 var(--font-head);font-style:normal;letter-spacing:.04em;color:var(--ink)}
.nh-review small{display:block;color:var(--muted);font-size:1rem}
/* area lists */
.nh-areas{display:grid;gap:.6rem;margin:1.2rem 0;padding:0;list-style:none}
.nh-areas li{margin:0}
.nh-areas a{display:flex;align-items:center;justify-content:space-between;min-height: 44px;padding:.5rem 1rem;background:var(--card);border:2px solid var(--ink);border-radius:var(--r);color:var(--ink);font:700 1.3rem/1.1 var(--font-head);letter-spacing:.06em;text-transform:uppercase;text-decoration:none}
.nh-areas a:hover{background:var(--tape)}
.nh-areas small{font:400 1rem/1.2 var(--font-body);letter-spacing:0;text-transform:none;color:var(--muted)}
/* forms */
.nh-form{display:grid;gap:1.1rem;margin:1.5rem 0;padding:1.5rem;background:var(--card);border:2px solid var(--ink);border-radius:var(--r-lg);box-shadow:var(--shadow)}
.nh-form p{margin:0}
.nh-field label,.nh-field legend{display:block;margin-bottom:.35rem;font:700 1.2rem/1.2 var(--font-head);letter-spacing:.08em;text-transform:uppercase;color:var(--ink)}
.nh-field input,.nh-field select,.nh-field textarea{display:block;width:100%;min-height: 44px;padding:.65rem .8rem;background:var(--paper);color:var(--ink);border:2px solid var(--ink);border-radius:var(--r);font:inherit}
.nh-field textarea{min-height:9rem;resize:vertical}
.nh-field fieldset{margin:0;padding:0;border:0}
.nh-check{display:flex;align-items:flex-start;gap:.7rem;min-height: 44px}
.nh-check input{flex:none;width: 24px;height: 24px;min-height:0;margin-top:.15rem;accent-color:var(--green)}
.nh-hint{display:block;margin:.3rem 0 0;font-size:1rem;color:var(--muted)}
.nh-err{margin:.3rem 0 0;color:#8a1c12;font-weight:700}
.nh-field [aria-invalid=true]{border-color:#8a1c12;box-shadow:0 0 0 3px #f6d6d1}
.nh-status{padding:1rem 1.2rem;border:2px solid var(--ink);border-radius:var(--r);background:var(--cream);font-weight:700;color:var(--ink)}
.nh-status:empty{display:none}
/* tables and figures */
.nh-tablewrap{overflow-x:auto;margin:1.5rem 0}
.nh-table{width:100%;border-collapse:collapse;background:var(--card);font-size:1.05rem}
.nh-table caption{padding:.6rem 0;text-align:start;font:700 1.3rem/1.2 var(--font-head);letter-spacing:.08em;text-transform:uppercase;color:var(--ink)}
.nh-table th,.nh-table td{padding:.7rem .9rem;border:1px solid var(--line);text-align:start;vertical-align:top}
.nh-table thead th{background:var(--ink);color:var(--cream);font:700 1.1rem/1.2 var(--font-head);letter-spacing:.1em;text-transform:uppercase}
.nh-table tbody th{background:var(--pale);color:var(--ink)}
.nh-figure{margin:1.5rem 0}
.nh-figure a{display:block;background:var(--pale);border:2px solid var(--ink);border-radius:var(--r-lg);box-shadow:3.6px 3.6px 0 var(--ink);overflow:hidden}
.nh-figure img{display:block;width:100%;height:auto;filter:grayscale(1) contrast(1.08);mix-blend-mode:multiply}
.nh-figure figcaption{margin-top:.8rem;font:700 1.05rem/1.3 var(--font-head);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.nh-related{margin-top:3rem}
.nh-cta{margin:3rem 0 0;padding:2rem 1.5rem;background:var(--ink);color:#cfe3dc;border-radius:var(--r-lg);text-align:center}
.nh-cta h2{margin:0 0 .5rem;color:var(--cream)}
.nh-cta p{max-width:34rem;margin-inline:auto}
@media (min-width:480px){.nh-cards--2,.nh-areas{grid-template-columns:repeat(2,1fr)}.nh-cards--5{grid-template-columns:repeat(2,1fr)}.nh-cards--5>li:last-child{grid-column:1/-1}}
@media (min-width:768px){
  .nh-hero-grid{grid-template-columns:1.25fr 1fr}
  .nh-hero--home .nh-hero-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:0 3rem;align-items:start}
  .nh-hero--home .nh-hero-grid>div:first-child{display:contents}
  .nh-hero--home h1{grid-column:1/-1}
  .nh-hero--home .nh-hero-art{grid-column:2;grid-row:2/span 2;align-self:center;width:min(100%,30rem)}
  .nh-cards--3{grid-template-columns:repeat(2,1fr)}
  .nh-steps--4{grid-template-columns:repeat(2,1fr)}
  .nh-track>li{flex-basis:20rem}
  .nh-author{padding:1.6rem}
}
@media (min-width:1024px){
  .nh-split{grid-template-columns:minmax(0,1fr) 19rem;gap:3rem}
  .nh-split--left{grid-template-columns:19rem minmax(0,1fr)}
  .nh-rail{position:sticky;top:calc(var(--head-h) + 1.75rem)}
  .nh-cards--3{grid-template-columns:repeat(3,1fr)}
  .nh-cards--4{grid-template-columns:repeat(4,1fr)}
  .nh-cards--5{grid-template-columns:repeat(6,1fr)}
  .nh-cards--5>li{grid-column:span 2}
  .nh-cards--5>li:nth-child(n+4){grid-column:span 3}
  .nh-areas{grid-template-columns:repeat(3,1fr)}
  .nh-steps--4{grid-template-columns:repeat(4,1fr)}
  .nh-steps--4>li{padding:4.5rem 1.1rem 1.2rem}
  .nh-steps--4>li::before{left:1.1rem;top:1rem}
}
@media (min-width:1440px){.nh-split{grid-template-columns:minmax(0,1fr) 20rem}}
@media (prefers-reduced-motion:reduce){.nh-ticket{transition:none}.nh-ticket:hover{transform:none}}
.nh-avatar::before{content:attr(data-initials)}
.nh-list{margin:1rem 0;padding:.5rem 1rem;background:var(--card);border:2px solid var(--ink);border-radius:var(--r-lg)}
.nh-list summary{display:flex;align-items:center;min-height: 44px;cursor:pointer;font:700 1.3rem/1.1 var(--font-head);letter-spacing:.08em;text-transform:uppercase;color:var(--ink)}

.nh-lock{margin:1rem 0;padding:.8rem 1rem;border:2px dotted var(--ink)}
.nh-lock-t{margin:0 0 .5rem;font:700 1.1rem/1.2 var(--font-head);letter-spacing:.08em;text-transform:uppercase}
.nh-lock-s{margin:.5rem 0 0;font-size:.95rem}
.nh-lock-n{margin:0;font-weight:700}
.nh-button:disabled{opacity:.55;cursor:not-allowed}
/* scaled-90 (owner, 3 Dec 2026) */
