:root {
  color-scheme: light;
  --j-ground: #F0F5FA;
  --j-ink: #22282D;
  --j-blue: #2E4ECC;
  --j-shaving: #DDCDC5;
  --j-surface: #FBFCFD;
  --j-display: "Kavoon", Georgia, serif;
  --j-reading: "Comfortaa", "Trebuchet MS", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--j-ground); color: var(--j-ink); font-family: var(--j-reading); font-size: 17px; font-weight: 500; line-height: 1.75; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
a:hover { text-decoration-color: var(--j-blue); text-decoration-thickness: 3px; }
a:focus-visible { outline: 3px solid var(--j-blue); outline-offset: 6px; }
::selection { background: var(--j-shaving); color: var(--j-ink); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--j-display); font-weight: 400; }
p + p { margin-top: 1.1em; }
[data-lucide] { display: inline-block; width: 20px; height: 20px; flex: 0 0 20px; vertical-align: middle; }
svg[data-lucide] { stroke-width: 1.75; }
.j-skip { position: absolute; left: 24px; top: -90px; z-index: 10; padding: 12px 20px; background: var(--j-surface); }
.j-skip:focus { top: 16px; }
/* The open end-grain signature has three separate, horizontal navigation faces. */
.j-endgrain { position: relative; height: 140px; max-width: 1440px; margin: 12px auto 0; padding: 0 64px; }
.j-endgrain__drawing { position: absolute; left: 64px; top: 8px; width: calc(100% - 252px); height: 114px; pointer-events: none; object-fit: fill; }
.j-signature { position: absolute; left: 93px; top: 39px; font: 36px/1.2 var(--j-display); text-decoration: none; white-space: nowrap; }
.j-navigation { display: contents; }
.j-face { position: absolute; display: inline-flex; align-items: center; gap: 9px; font-size: 17px; line-height: 1.3; padding: 4px 0; text-decoration: none; }
.j-face--top { left: 48%; top: 0; }
.j-face--right { right: 64px; top: 55px; }
.j-face--bottom { left: 65%; top: 111px; }
.j-face:hover, .j-signature:hover { text-decoration: underline; text-decoration-thickness: 3px; }
/* A whole photograph, crossed by a long, square-cut beam rather than a card. */
.j-hero { position: relative; isolation: isolate; }
.j-mortise { position: absolute; inset: 0; z-index: -1; background: var(--j-shaving); }
.j-mortise__wide { height: 100%; width: 100%; background-image: url("./mortise-weekend-wide.webp"); background-position: 50% 54%; background-size: cover; }
.j-mortise__detail { position: absolute; width: 112px; height: 158px; left: 32px; bottom: -28px; background-image: url("./mortise-weekend-wide.webp"); background-size: 550%; background-position: 25% 54%; border: 8px solid var(--j-ground); box-shadow: -8px 8px 0 var(--j-ink); }
.j-beam { position: relative; max-width: 1440px; padding: 40px 64px 54px; margin: 0 auto; }
.j-titlebeam { position: relative; width: calc(100% - 164px); padding: 21px 32px 28px; background: var(--j-shaving); border-left: 16px solid var(--j-blue); }
.j-titlebeam::before { content: ""; position: absolute; left: -80px; top: 0; width: 64px; height: 100%; background: var(--j-shaving); }
.j-titlebeam::after { content: ""; position: absolute; bottom: -27px; right: 72px; width: 104px; height: 27px; background: var(--j-shaving); }
.j-beam h1 { position: relative; font-size: clamp(64px, 6.05vw, 88px); line-height: 1.06; letter-spacing: -.035em; max-width: 1120px; }
.j-term { white-space: nowrap; }
.j-opening { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: 130px; margin-top: 80px; align-items: start; }
.j-owner { max-width: 490px; background: var(--j-shaving); padding: 21px 25px; font-size: 19px; line-height: 1.6; border-bottom: 8px solid var(--j-ink); }
/* An open annotation on a continuous ground; no border, hover, link or shadow. */
.j-prescription { position: relative; font-size: 16px; line-height: 1.65; padding: 25px 64px 27px 28px; margin-right: -64px; background: var(--j-ground); color: var(--j-ink); }
.j-prescription::before { content: ""; position: absolute; left: -24px; bottom: 0; width: 24px; height: 50%; background: var(--j-ground); }
.j-prescription p { margin: 0; }
.j-prescription__mouth { float: left; width: 78px; height: 78px; margin: 4px 20px 6px 0; object-fit: contain; }
.j-prescription, .j-prescription * { cursor: auto; }
.j-prescription::after { content: ""; display: block; clear: both; }
/* Three substantial, unequal strips and two deep grain channels. */
.j-descent { max-width: 1440px; padding: 0 64px; margin: 108px auto 0; }
.j-screen { display: grid; grid-template-columns: minmax(0, 1.28fr) 68px minmax(0, 1.03fr) 54px minmax(0, .87fr); align-items: start; border-top: 18px solid var(--j-blue); }
.j-essay { position: relative; padding: 36px 28px 44px; min-width: 0; }
.j-essay--parts { background: var(--j-surface); grid-column: 1; margin-top: 48px; box-shadow: -14px 14px 0 var(--j-shaving); }
.j-essay--blend { grid-column: 3; margin-top: 151px; border-left: 7px solid var(--j-ink); padding-left: 26px; }
.j-essay--care { background: var(--j-shaving); grid-column: 5; margin-top: 259px; padding-left: 26px; padding-right: 26px; }
.j-essay--care::after { content: ""; position: absolute; right: 0; top: 0; width: 24px; height: 24px; background: var(--j-ground); }
.j-essay__number { font: 94px/1 var(--j-display); color: var(--j-blue); display: block; margin: -83px 0 27px -5px; }
.j-essay h2 { font-size: 33px; line-height: 1.18; margin-bottom: 25px; }
.j-essay p { font-size: 16px; line-height: 1.85; }
.j-essay p:last-of-type { border-top: 4px solid var(--j-ink); margin-top: 26px; padding-top: 22px; }
.j-essay__link { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.5; font-weight: 700; margin-top: 29px; padding-bottom: 7px; }
.j-essay__link:hover { box-shadow: 0 4px 0 var(--j-blue); }
.j-channel { position: sticky; top: 32px; width: 100%; height: 640px; margin-top: 82px; background-color: var(--j-shaving); background-size: cover; box-shadow: -5px 0 0 var(--j-ink); }
.j-channel--one { grid-column: 2; background-image: url("./component-channel.webp"); background-position: 51% 50%; }
.j-channel--two { grid-column: 4; margin-top: 185px; height: 710px; background-image: url("./blend-channel.webp"); background-position: 48% 50%; }
.j-whole { position: relative; margin-top: 100px; padding: 72px max(64px, calc((100vw - 1312px) / 2)); background: var(--j-shaving); display: grid; grid-template-columns: 1fr 1.08fr; gap: 40px 85px; align-items: start; border-top: 18px solid var(--j-ink); }
.j-whole::before { content: ""; position: absolute; top: -18px; left: 46%; width: 12%; height: 36px; background: var(--j-ground); }
.j-whole__heading h2 { font-size: 51px; line-height: 1.14; max-width: 520px; }
.j-whole__tenon { width: 440px; height: auto; display: block; margin-top: 40px; }
.j-whole__prose { font-size: 18px; max-width: 610px; }
.j-whole__routes { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 27px; font-size: 16px; font-weight: 700; }
/* Inner pages: the same timber shoulders, an offset caption, outboard replies. */
.j-posthead { max-width: 1440px; margin: 0 auto; padding: 38px 64px 0; }
.j-crumb { font-size: 16px; display: flex; align-items: center; gap: 13px; margin-bottom: 28px; }
.j-crumb [data-lucide] { width: 24px; height: 24px; flex-basis: 24px; }
.j-posthead h1 { font-size: clamp(48px, 5.15vw, 74px); line-height: 1.12; letter-spacing: -.025em; max-width: 1120px; }
.j-posthead__lead { max-width: 750px; font-size: 21px; line-height: 1.6; margin-top: 25px; }
.j-band { position: relative; margin: 38px 0 0 -64px; width: calc(100% + 128px); padding-bottom: 22px; }
.j-band__photo { width: 100%; height: 286px; object-fit: cover; display: block; background: var(--j-shaving); clip-path: polygon(0 0, 87% 0, 87% 12%, 100% 12%, 100% 100%, 72% 100%, 72% 86%, 63% 86%, 63% 100%, 0 100%); }
.j-band figcaption { position: relative; width: fit-content; max-width: 620px; font-size: 16px; line-height: 1.6; margin: -27px 64px 0 auto; background: var(--j-shaving); padding: 18px 24px; border-left: 8px solid var(--j-ink); box-shadow: 9px 9px 0 var(--j-ground); }
.j-postlayout { max-width: 1440px; padding: 58px 64px 74px; display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr); gap: 110px; margin: 0 auto; }
.j-post { min-width: 0; max-width: 780px; }
.j-post section + section { margin-top: 49px; }
.j-post h2 { font-size: 35px; line-height: 1.22; margin-bottom: 24px; max-width: 670px; }
.j-post p { max-width: 71ch; }
.j-responses { position: sticky; top: 36px; align-self: start; padding-top: 40px; min-width: 0; }
.j-response { position: relative; border-left: 8px solid var(--j-ink); padding: 0 0 0 27px; margin-left: -24px; }
.j-response::before { content: ""; position: absolute; width: 36px; height: 8px; background: var(--j-ink); left: -8px; top: -24px; }
.j-response + .j-response { margin-top: 86px; }
.j-response h2 { font-size: 28px; line-height: 1.25; margin-bottom: 20px; }
.j-response p { font-size: 16px; line-height: 1.8; }
.j-nextread { max-width: 1312px; margin: 0 auto 68px; border-top: 12px solid var(--j-blue); padding-top: 25px; display: flex; flex-wrap: wrap; gap: 16px 38px; font-size: 16px; }
.j-nextread a { display: inline-flex; gap: 10px; align-items: center; padding: 6px 0; }
.j-nextread a:hover { box-shadow: 0 4px 0 var(--j-blue); }
.j-colophon { max-width: 1440px; margin: 0 auto; padding: 58px 64px 35px; }
.j-colophon__top { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.j-colophon__signature { font: 29px/1.2 var(--j-display); margin-bottom: 18px; }
.j-colophon__guide { max-width: 600px; font-size: 16px; line-height: 1.7; }
.j-colophon nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: flex-start; gap: 17px 25px; font-size: 16px; }
.j-colophon__copyright { font-size: 16px; margin-top: 36px; }
.j-missing { max-width: 900px; margin: 0 auto; padding: 70px 30px 120px; }
.j-missing h1 { font-size: clamp(44px, 6vw, 80px); line-height: 1.15; margin-bottom: 30px; }
.j-missing .j-whole__tenon { margin-bottom: 35px; }
@media (min-width: 1441px) {
  .j-titlebeam::before { left: calc((1440px - 100vw) / 2 - 80px); width: calc((100vw - 1440px) / 2 + 64px); }
  .j-prescription { margin-right: calc((1440px - 100vw) / 2 - 64px); padding-right: calc((100vw - 1440px) / 2 + 64px); }
  .j-band { width: 100%; margin-left: 0; }
}
@media (max-width: 1100px) and (min-width: 701px) {
  .j-endgrain { padding: 0 36px; }
  .j-endgrain__drawing { left: 36px; width: calc(100% - 218px); }
  .j-signature { left: 60px; font-size: 30px; }
  .j-face--right { right: 36px; }
  .j-face--bottom { left: 63%; }
  .j-beam, .j-posthead, .j-descent { padding-left: 36px; padding-right: 36px; }
  .j-titlebeam { width: calc(100% - 60px); padding: 20px 24px; }
  .j-titlebeam::before { left: -52px; width: 36px; }
  .j-beam h1 { font-size: clamp(48px, 6.2vw, 66px); }
  .j-opening { gap: 44px; margin-top: 64px; grid-template-columns: 1fr 1.2fr; }
  .j-owner { font-size: 17px; padding: 18px; }
  .j-prescription { margin-right: -36px; padding-right: 36px; padding-left: 22px; }
  .j-mortise__detail { left: 18px; width: 80px; height: 110px; }
  .j-screen { grid-template-columns: minmax(0, 1.2fr) 30px minmax(0, 1fr) 24px minmax(0, .95fr); }
  .j-essay { padding-left: 17px; padding-right: 17px; }
  .j-essay h2 { font-size: 28px; }
  .j-whole { padding: 55px 36px; gap: 45px; }
  .j-postlayout { padding-left: 36px; padding-right: 36px; gap: 60px; grid-template-columns: 1.7fr 1fr; }
  .j-band { margin-left: -36px; width: calc(100% + 72px); }
  .j-band figcaption { margin-right: 36px; max-width: 65%; }
  .j-colophon { padding-left: 36px; padding-right: 36px; }
  .j-nextread { margin-left: 36px; margin-right: 36px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; line-height: 1.75; }
  .j-endgrain { margin: 0; height: 82px; padding: 0 18px; }
  .j-endgrain__drawing { display: none; }
  .j-endgrain::after { content: ""; position: absolute; right: 18px; top: 13px; width: 36px; height: 36px; border-top: 4px solid var(--j-ink); border-right: 4px solid var(--j-ink); pointer-events: none; }
  .j-signature { left: 18px; top: 12px; font-size: 27px; line-height: 1.2; }
  .j-navigation { display: flex; flex-wrap: nowrap; gap: 24px; position: absolute; top: 51px; left: 18px; right: 18px; }
  .j-face { position: static; padding: 2px 0; font-size: 16px; line-height: 1.3; white-space: nowrap; }
  .j-face [data-lucide] { display: none; }
  .j-hero { display: flex; flex-direction: column; }
  .j-beam { width: 100%; padding: 13px 18px 0; }
  .j-titlebeam { width: calc(100% + 36px); margin-left: -18px; padding: 17px 18px 20px 10px; border-left-width: 8px; }
  .j-titlebeam::before { display: none; }
  .j-titlebeam::after { width: 62px; height: 16px; bottom: -16px; right: 18px; }
  .j-beam h1 { font-size: 37px; line-height: 1.12; letter-spacing: -.025em; }
  .j-opening { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
  .j-owner { padding: 0; border: 0; background: var(--j-ground); font-size: 16px; line-height: 1.6; max-width: none; }
  .j-prescription { font-size: 16px; line-height: 1.55; width: 100%; padding: 0; margin: 0; }
  .j-prescription::before { display: none; }
  .j-prescription__mouth { width: 70px; height: 70px; margin: 2px 17px 7px 0; }
  .j-mortise { position: relative; inset: auto; z-index: auto; height: 114px; width: calc(100% - 36px); margin: 24px 18px 0; background: transparent; }
  .j-mortise__wide { background-position: 50% 54%; clip-path: polygon(0 16%, 20% 16%, 20% 0, 38% 0, 38% 16%, 100% 16%, 100% 100%, 78% 100%, 78% 81%, 65% 81%, 65% 100%, 40% 100%, 40% 81%, 27% 81%, 27% 100%, 0 100%); }
  .j-mortise__detail { display: none; }
  .j-descent { padding: 0 18px; margin-top: 55px; }
  .j-screen { display: flex; flex-direction: column; border-top-width: 10px; gap: 0; }
  .j-essay { width: 100%; padding: 33px 23px 37px; margin: 0; }
  .j-essay--parts { margin-top: 32px; box-shadow: -8px 8px 0 var(--j-shaving); }
  .j-essay--blend { margin-top: 76px; padding-left: 22px; }
  .j-essay--care { margin-top: 76px; }
  .j-essay__number { font-size: 68px; margin: -65px 0 22px; }
  .j-essay h2 { font-size: 33px; max-width: 320px; }
  .j-channel { display: none; }
  .j-whole { display: block; margin-top: 42px; padding: 42px 23px; border-top-width: 12px; }
  .j-whole::before { top: -12px; height: 24px; }
  .j-whole__heading h2 { font-size: 38px; }
  .j-whole__tenon { margin: 28px 0 33px; width: 100%; }
  .j-whole__prose { font-size: 16px; }
  .j-whole__routes { gap: 17px; }
  .j-posthead { padding: 25px 18px 0; }
  .j-crumb { margin-bottom: 24px; gap: 10px; }
  .j-crumb [data-lucide] { width: 20px; height: 20px; flex-basis: 20px; }
  .j-posthead h1 { font-size: 39px; line-height: 1.17; }
  .j-posthead__lead { margin-top: 22px; font-size: 18px; }
  .j-band { margin: 30px 0 0; width: 100%; padding-bottom: 0; }
  .j-band__photo { height: 173px; }
  .j-band figcaption { font-size: 16px; max-width: calc(100% - 18px); margin: -13px 0 0 18px; padding: 14px 16px; border-left-width: 5px; box-shadow: none; }
  .j-postlayout { display: block; padding: 40px 18px; }
  .j-post h2 { font-size: 30px; margin-bottom: 21px; }
  .j-post section + section { margin-top: 37px; }
  .j-post p { overflow-wrap: anywhere; }
  .j-responses { position: static; padding-top: 64px; }
  .j-response { margin-left: 0; padding-left: 23px; }
  .j-response + .j-response { margin-top: 66px; }
  .j-response h2 { font-size: 28px; }
  .j-nextread { margin: 0 18px 35px; border-top-width: 9px; gap: 18px 26px; padding-top: 24px; }
  .j-colophon { padding: 38px 18px 26px; }
  .j-colophon__top { display: block; }
  .j-colophon nav { justify-content: flex-start; margin-top: 29px; gap: 17px 24px; }
  .j-colophon__signature { font-size: 27px; }
  .j-colophon__copyright { margin-top: 29px; }
  .j-missing { padding: 45px 18px 65px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; animation: none; transition: none; }
}
