body.john-home {
    --jh-paper: #fbf6ee;
    --jh-ink: #171419;
    --jh-blue: #173ac8;
    --jh-rule: #9a9189;
    margin: 0;
    background: var(--jh-paper);
    color: var(--jh-ink);
    font: 400 17px/1.5 system-ui, sans-serif;
}
.john-home .jh-wrap { width: min(94%, 1440px); margin: auto; }
.john-home .jh-wrap :is(h1, h2, h3, p) { margin: 0; color: inherit; font-family: inherit; }
.john-home .jh-wrap a { color: inherit; text-decoration: none; }
.john-home a:focus-visible { outline: 3px solid var(--jh-blue); outline-offset: 4px; }
.john-home .jh-skip { position: absolute; left: 1rem; top: -5rem; padding: .6rem 1rem; background: white; z-index: 99999; }
.john-home .jh-skip:focus { top: .75rem; }
.jh-header, .jh-footer, .jh-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.jh-header { min-height: 72px; padding: .6rem 0; border-bottom: 1px solid var(--jh-rule); }
.jh-header nav, .jh-footer nav, .jh-actions { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.8rem, 3vw, 2.7rem); }
.jh-header nav a { font-weight: 690; }
.jh-header .jh-contact { border: 1px solid currentColor; border-radius: 5px; padding: .35rem .9rem; }
.jh-brand { font-size: clamp(1.65rem, 3vw, 2.5rem); font-weight: 850; letter-spacing: -.07em; line-height: 1; }
.jh-hero { display: grid; grid-template-columns: 1fr 1.04fr; gap: clamp(1rem, 2.6vw, 2.5rem); padding: 1rem 0; align-items: stretch; }
.jh-intro { align-self: center; padding: clamp(1rem, 2.5vw, 2.5rem) 0; }
.john-home .jh-hello { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; margin-bottom: .8em; }
.john-home .jh-hero h1 { max-width: 10.5em; font-size: clamp(2.75rem, 5.15vw, 5rem); font-weight: 850; line-height: .98; letter-spacing: -.063em; }
.john-home .jh-deck { max-width: 36ch; margin: 1.15rem 0 1.65rem; font-size: clamp(1.1rem, 1.75vw, 1.55rem); line-height: 1.35; }
.john-home .jh-wrap .jh-button { background: var(--jh-blue); color: white; padding: .65rem 1.1rem; border-radius: 5px; font-weight: 730; }
.john-home .jh-wrap .jh-button:hover { background: #102b9c; }
.john-home .jh-wrap .jh-link { text-decoration: underline; text-underline-offset: .23em; font-weight: 690; }
.john-home .jh-wrap a:hover:not(.jh-button) { color: var(--jh-blue); }
.jh-art { width: 100%; height: 100%; min-height: 0; object-fit: cover; display: block; aspect-ratio: 739 / 509; }
.jh-section { border-top: 1px solid var(--jh-rule); padding: 1rem 0 clamp(1.5rem, 3vw, 2.5rem); }
.john-home .jh-section h2 { font-size: clamp(1.9rem, 4vw, 3.3rem); line-height: 1.05; font-weight: 820; letter-spacing: -.055em; margin-bottom: .9rem; }
.jh-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.jh-tool { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: .65rem; padding: 1rem .8rem; border: 1px solid var(--jh-rule); }
.jh-tool:hover { border-color: var(--jh-blue); background: #f0edff; }
.jh-tool svg, .jh-tool > span, .jh-writing span { color: var(--jh-blue); }
.jh-tool > span { align-self: end; }
.john-home .jh-wrap h3 { font-size: clamp(1.05rem, 1.65vw, 1.45rem); font-weight: 760; line-height: 1.15; letter-spacing: -.035em; }
.john-home .jh-tool p { margin-top: .5rem; line-height: 1.35; font-size: .9rem; }
.jh-writing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.jh-writing a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem; border: 1px solid var(--jh-rule); }
.jh-work p { padding-bottom: .7rem; }
.jh-footer { padding: 1rem 0 1.5rem; border-top: 1px solid var(--jh-rule); }
@media (max-width: 1100px) {
    .jh-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .john-home .jh-wrap { width: min(92%, 650px); }
    .jh-hero { grid-template-columns: 1fr; }
    .jh-header { align-items: start; flex-direction: column; }
    .jh-header nav { gap: 1rem; font-size: .95rem; }
    .jh-footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 440px) {
    .jh-tools, .jh-writing { grid-template-columns: 1fr; }
    .jh-heading { align-items: start; }
}
