/* An actual notebook for the index; quieter comments, without changing article content. */
.journal-home { padding-top: 28px; }
.journal-home .home-overview { display: flex; min-height: 0; align-items: center; justify-content: space-between; gap: 28px; padding: 15px 4px 28px; border: 0; }
.journal-home .home-overview::before, .journal-home .home-overview::after { display: none; }
.journal-home .home-overview__copy { min-width: 0; max-width: 100%; }
.journal-home .home-overview__copy h1 { max-width: none; margin: 0; font-size: clamp(1.3rem,2.3vw,2rem); line-height: 1.7; letter-spacing: -.025em; }
.journal-home .home-overview__copy > p { margin: 8px 0 0; font-size: .75rem; }
.journal-home .home-overview__rail { display: block; flex: 0 1 490px; min-width: 0; padding: 0; }
.journal-home .home-overview__stats { display: flex; justify-content: flex-end; gap: 28px; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.journal-home .home-overview__stats > div, .journal-home .home-overview__stats > div:nth-child(even), .journal-home .home-overview__stats .home-overview__updated { display: flex; min-height: 0; flex-direction: column; padding: 0; border: 0; gap: 2px; }
.journal-home .home-overview__stats dt { color: var(--ink-soft); font-size: .55rem; }
.journal-home .home-overview__stats dt svg { display: none; }
.journal-home .home-overview__stats dd { margin: 0; font-size: .85rem; font-weight: 650; }
.journal-home .home-overview__stats .home-overview__updated dd { margin: 0; font-size: .67rem; line-height: 2; }

.home-notebook.notes-index {
  position: relative;
  min-height: 380px;
  padding: 27px 68px 35px 30px;
  margin-top: 12px;
  border: 2px solid var(--frame);
  border-radius: 19px 28px 28px 19px;
  background: repeating-linear-gradient(to bottom,transparent 0 35px,color-mix(in srgb,var(--line) 25%,transparent) 36px),var(--paper-raised);
  box-shadow: 0 4px 0 var(--sheet-edge),0 8px 0 var(--frame),0 20px 42px rgba(36,32,26,.12);
  isolation: isolate;
  overflow: clip;
}
.home-notebook::before { position: absolute; right: 46px; top: 0; bottom: 0; width: 1px; background: color-mix(in srgb,var(--accent) 35%,transparent); content: ""; pointer-events: none; }
.home-notebook__binding { position: absolute; z-index: 8; top: 22px; bottom: 22px; right: 6px; width: 35px; background: radial-gradient(ellipse 18px 8px at 50% 13px,transparent 39%,#585650 44% 49%,#e6e1d8 52% 60%,#5c5952 63% 69%,transparent 73%) 0 0 / 35px 31px repeat-y; filter: drop-shadow(1px 2px 1px rgba(0,0,0,.18)); pointer-events: none; }
.home-notebook .notes-index__header { position: relative; z-index: 4; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; margin-bottom: 0; }
.home-notebook .notes-index__header h2 { font-size: 1.15rem; line-height: 1.8; }
.home-notebook .notes-index__header h2::before { display: none; }
.home-notebook .notes-index__header p { margin: 4px 0 0; font-size: .63rem; }
.home-notebook__toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 7px 11px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper-raised); color: var(--ink); font-size: .59rem; white-space: nowrap; cursor: pointer; }
.home-notebook__toggle svg { width: 17px; height: 17px; }
.home-notebook__toggle:hover { background: var(--paper); }
.home-notebook__toggle:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.home-notebook__pages { position: relative; opacity: 1; visibility: visible; }
.home-notebook[data-open="false"] .home-notebook__pages { height: 0; visibility: hidden; overflow: hidden; opacity: 0; pointer-events: none; }
.home-notebook .category-list { justify-content: flex-start; gap: 7px; padding-block: 0 20px; }
.home-notebook .category-list a { min-height: 36px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper-raised); box-shadow: none; font-size: .6rem; }
.home-notebook .category-list a:hover, .home-notebook .category-list a.is-current { transform: none; background: var(--ink); color: var(--paper-raised); }
.home-notebook .posts-list--home { gap: 17px; padding-top: 0; }
.home-notebook .posts-list--home .post-row--featured { grid-column: auto; }
.home-notebook .posts-list--home .post-row, .home-notebook .posts-list--home .post-row--featured { grid-template-columns: 42px minmax(0,1fr); gap: 17px; min-height: 225px; padding: 24px 20px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--card-paper); box-shadow: 0 2px 0 var(--sheet-edge); }
.home-notebook .posts-list--home .post-row:hover { transform: translateY(-3px) rotate(-.25deg); border-color: var(--frame); box-shadow: 0 3px 0 var(--sheet-edge),0 7px 14px rgba(36,32,26,.06); }
.home-notebook .posts-list--home .post-row.post-row--hamgoft { background: var(--card-paper); }
.home-notebook .post-row__fold { display: none; }
.home-notebook .posts-list--home .post-row__date { padding: 9px 2px; border: 0; border-radius: 7px; background: var(--paper); box-shadow: none; }
.home-notebook .posts-list--home .post-row--hamgoft .post-row__date { background: color-mix(in srgb,var(--hamgoft-color) 16%,var(--paper-raised)); }
.home-notebook .posts-list--home .post-row__date span { font-size: 1.25rem; }
.home-notebook .posts-list--home .post-row__date small { font-size: .45rem; }
.home-notebook .posts-list--home .post-row__date .post-row__featured-label { font-size: .42rem; line-height: 1.8; margin-bottom: 7px; overflow-wrap: anywhere; }
.home-notebook .posts-list--home .post-row h3 { margin: 12px 0 8px; font-size: clamp(1.2rem,1.8vw,1.65rem); line-height: 1.7; }
.home-notebook .posts-list--home .post-row--featured h3 { font-size: clamp(1.4rem,2.6vw,2.25rem); }
.home-notebook .post-row__body > p { margin-bottom: 10px; font-size: .72rem; }
.home-notebook .post-row__meta { gap: 8px 14px; flex-wrap: wrap; font-size: .55rem; }
.home-notebook .post-row__read { padding-top: 12px; font-size: .56rem; }
.home-notebook .post-row__read svg { width: 22px; height: 22px; border-width: 1px; box-shadow: 0 1px 0 var(--depth); }
.home-notebook .post-row__index { top: 10px; left: 11px; padding: 0; border: 0; background: transparent; }
.home-notebook .post-row__link:focus-visible { inset: -3px; border-radius: 13px; outline-color: var(--ink); }
.home-notebook__cover { position: absolute; z-index: 3; inset: 93px 61px 25px 25px; display: flex; min-width: 0; align-items: center; justify-content: center; flex-direction: column; gap: 15px; padding: 28px 45px; border: 2px solid var(--frame); border-radius: 10px 17px 17px 10px; background: linear-gradient(100deg,transparent 85%,rgba(0,0,0,.04) 95%),var(--accent); color: var(--accent-text); box-shadow: inset 5px 0 0 rgba(255,255,255,.15),0 4px 0 var(--depth); transform-origin: right center; transform: perspective(1500px) rotateY(-95deg); opacity: 0; visibility: hidden; pointer-events: none; }
.home-notebook__cover strong { max-width: 100%; overflow-wrap: anywhere; font-size: clamp(1.5rem,4vw,2.8rem); font-weight: 850; text-align: center; line-height: 1.6; }
.home-notebook__cover small { font-size: .8rem; }
.home-notebook__cover-date { font-size: .58rem; }
.home-notebook__cover-spine { position: absolute; inset-block: 0; right: 16px; width: 2px; background: currentColor; opacity: .15; }
.home-notebook[data-open="false"] .home-notebook__cover { visibility: visible; opacity: 1; transform: perspective(1500px) rotateY(0deg); }
.home-notebook[data-motion="true"] .home-notebook__cover { transition: transform .48s cubic-bezier(.2,.7,.2,1),opacity .3s ease,visibility 0s .48s; }
.home-notebook[data-motion="true"][data-open="false"] .home-notebook__cover { transition: transform .48s cubic-bezier(.2,.7,.2,1),opacity .2s ease,visibility 0s; }

/* The composer is one short form, not a stack of nested cards. */
.comments-area.site-shell-narrow { width: min(780px,calc(100vw - 64px)); margin: 66px auto 0; padding: 27px 0 32px; border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; background: transparent; box-shadow: none; }
.comments-area::before, .comment-compose::before, .comment-compose::after, .comment-list::before, .comment-list > .comment-card::before { display: none; }
.comments-area .comments-invite { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 18px; }
.comments-area .comments-invite h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 1.12rem; font-weight: 750; letter-spacing: 0; }
.comments-total { display: inline-grid; place-items: center; min-width: 23px; height: 23px; padding-inline: 5px; border-radius: 6px; background: var(--paper); color: var(--ink-soft); font-size: .62rem; font-weight: 500; }
.comments-area .comments-invite__jump { min-height: 36px; padding: 3px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--ink-soft); font-size: .58rem; }
.comments-area .comments-invite__jump svg { width: 14px; height: 14px; }
.comments-area .comment-compose { padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.comment-extras { margin-bottom: 12px; }
.comment-extras > summary { width: fit-content; min-height: 32px; padding: 4px 0; color: var(--ink-soft); font-size: .6rem; cursor: pointer; }
.comments-area .comment-starters { margin: 3px 0 9px; padding: 0; border: 0; }
.comments-area .comment-starters > div { gap: 7px; }
.comments-area .comment-starters button { display: inline-flex; min-height: 36px; gap: 6px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--ink-soft); box-shadow: none; font-size: .57rem; }
.comments-area .comment-starters button:hover { transform: none; }
.comments-area .comment-starters button > span { display: none; }
.comments-area .comment-starters button strong { font-weight: 500; }
.comments-area .comment-reply-title { margin: 0; font-size: .8rem; line-height: 1.8; }
.comments-area .comment-form { gap: 12px 16px; margin-top: 8px; }
.comments-area .comment-form .comment-form-author, .comments-area .comment-form .comment-form-email { grid-column: auto; }
.comments-area .comment-notes, .comments-area .logged-in-as { margin: 0 0 3px; color: var(--ink-soft); font-size: .57rem; }
.comments-area .comment-form label { margin-bottom: 5px; color: var(--ink-soft); font-size: .6rem; }
.comments-area .comment-form-comment > label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.comments-area .comment-form textarea, .comments-area .comment-form input:not([type="checkbox"]):not([type="submit"]) { min-height: 43px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper-raised); box-shadow: none; font-size: .75rem; }
.comments-area .comment-form textarea { min-height: 112px; height: 112px; resize: vertical; line-height: 1.9; }
.comments-area .comment-form textarea::placeholder, .comments-area .comment-form input::placeholder { font-size: .68rem; }
.comments-area .comment-field-meta { margin-top: 4px; font-size: .52rem; }
.comments-area .comment-field-meta > span:first-child { display: none; }
.comments-area .comment-field-meta > span:last-child { margin-right: auto; }
.comments-area .comment-live-tools { gap: 8px; margin-top: -8px; }
.comments-area .comment-draft-status { visibility: hidden; color: var(--ink-soft); font-size: .52rem; }
.comments-area .has-content .comment-draft-status { visibility: visible; }
.comments-area .comment-live-tools button { min-height: 30px; padding: 3px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: .55rem; }
.comments-area .comment-preview { padding: 14px; margin: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: none; }
.comments-area .comment-preview__tape, .comments-area .comment-preview > .utility-label { display: none; }
.comments-area .comment-preview p { margin: 0 0 6px; font-size: .75rem; }
.comments-area .comment-form-cookies-consent { gap: 7px; align-items: flex-start; }
.comments-area .comment-form-cookies-consent label { font-size: .55rem; line-height: 1.9; }
.comments-area .comment-form-cookies-consent input { width: 16px; height: 16px; margin-top: 3px; }
.comments-area .comment-form .form-submit input.comment-submit, .comments-area .comment-form .form-submit button.comment-submit { width: auto; min-width: 140px; min-height: 43px; padding: 9px 16px; border: 1px solid var(--frame) !important; border-radius: 8px; background: var(--ink) !important; color: var(--paper-raised) !important; -webkit-text-fill-color: var(--paper-raised) !important; box-shadow: none; font-size: .65rem; font-weight: 650; }
.comments-area .comment-form .form-submit input.comment-submit:hover, .comments-area .comment-form .form-submit button.comment-submit:hover, .comments-area .comment-form .form-submit input.comment-submit:active { background: var(--ink) !important; color: var(--paper-raised) !important; -webkit-text-fill-color: var(--paper-raised) !important; box-shadow: none; transform: none; opacity: .86; }
.comments-area .comments-thread { margin-top: 30px; }
.comments-area .comment-list > .comment-card { padding-right: 0; margin-bottom: 0; }
.comments-area .comment-list .children { padding-right: 20px; margin-right: 12px; border-right: 1px solid var(--line); }
.comments-area .comment-card__body, .comments-area .comment-list > .comment-card:nth-child(even) > .comment-card__body { padding: 20px 0 17px; margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.comments-area .comment-card__body:hover { transform: none; box-shadow: none; border-color: var(--line); }
.comments-area .comment-card__identity img { width: 30px; height: 30px; border: 0; box-shadow: none; }
.comments-area .comment-card__identity > div { gap: 1px; }
.comments-area .comment-card__author { font-size: .66rem; }
.comments-area .comment-card__date { font-size: .5rem; }
.comments-area .comment-card__signals { padding: 0; }
.comments-area .comment-card__mood { border: 0; background: var(--paper); font-size: .5rem; }
.comments-area .comment-card__content { padding-right: 40px; margin-top: 10px; color: var(--ink); font-size: .75rem; }
.comments-area .comment-card__actions { gap: 16px; padding-right: 40px; margin-top: 5px; }
.comments-area .comment-applause, .comments-area .comment-applause:hover, .comments-area .comment-applause.is-selected { min-height: 36px; padding: 4px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: .55rem; }
.comments-area .comment-reply-link { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; font-size: .55rem; }
.comments-area .comments-empty { display: block; min-height: 0; padding: 15px 0 0; margin: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink-soft); font-size: .63rem; }
.comments-area :is(button,a,input,textarea,summary):focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

@media(max-width:1050px) {
  .journal-home .home-overview { gap: 20px; }
  .journal-home .home-overview__stats { gap: 18px; }
}
@media(max-width:760px) {
  .journal-home { padding-top: 16px; }
  .journal-home .home-overview { flex-direction: column; align-items: stretch; gap: 15px; padding-bottom: 22px; }
  .journal-home .home-overview__rail { flex: auto; }
  .journal-home .home-overview__stats { justify-content: flex-start; gap: 23px; }
  .home-notebook.notes-index { padding: 20px 39px 23px 14px; min-height: 340px; border-radius: 13px 19px 19px 13px; }
  .home-notebook::before { right: 28px; }
  .home-notebook__binding { right: 0; width: 25px; background-size: 25px 29px; }
  .home-notebook .notes-index__header { gap: 7px; padding-bottom: 14px; }
  .home-notebook .notes-index__header h2 { font-size: 1rem; }
  .home-notebook__toggle { padding-inline: 7px; font-size: .5rem; gap: 5px; }
  .home-notebook .category-list { gap: 5px; padding-bottom: 15px; }
  .home-notebook .category-list a { padding-inline: 8px; font-size: .54rem; }
  .home-notebook .posts-list--home .post-row, .home-notebook .posts-list--home .post-row--featured { grid-template-columns: 31px minmax(0,1fr); gap: 11px; padding: 20px 12px; min-height: 0; }
  .home-notebook .posts-list--home .post-row h3, .home-notebook .posts-list--home .post-row--featured h3 { font-size: 1.18rem; line-height: 1.75; }
  .home-notebook .posts-list--home .post-row__date span { font-size: 1.1rem; }
  .home-notebook .posts-list--home .post-row__date small { font-size: .4rem; }
  .home-notebook .post-row__topics { gap: 7px; }
  .home-notebook .post-row__hamgoft { font-size: .48rem; }
  .home-notebook .post-row__hamgoft-art { width: 40px; height: 40px; bottom: 17px; left: 14px; }
  .home-notebook .post-row__body > p { font-size: .66rem; }
  .home-notebook__cover { inset: 80px 35px 20px 12px; padding: 25px 20px; }
  .comments-area.site-shell-narrow { width: calc(100vw - 40px); padding-top: 22px; margin-top: 45px; }
  .comments-area .comments-invite h2 { font-size: 1rem; }
  .comments-area .comment-form { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
  .comments-area .comment-card__content, .comments-area .comment-card__actions { padding-right: 0; }
  .comments-area .comment-list .children { margin-right: 5px; padding-right: 14px; }
}
@media(prefers-reduced-motion:reduce) {
  .home-notebook[data-motion="true"] .home-notebook__cover, .home-notebook[data-motion="true"][data-open="false"] .home-notebook__cover, .home-notebook .posts-list--home .post-row { transition: none; }
  .home-notebook .posts-list--home .post-row:hover { transform: none; }
}
@media print {
  .home-notebook__binding, .home-notebook__cover, .home-notebook__toggle { display: none !important; }
  .home-notebook[data-open="false"] .home-notebook__pages { height: auto; opacity: 1; visibility: visible; }
}
