/* Einhar's compact black identity. This is the final layer over legacy styles. */
:root {
  color-scheme: dark;
  --surface-page: #000;
  --surface-raised: #171717;
  --surface-hover: #222;
  --ink-primary: #f4f4f2;
  --ink-secondary: #aaa9a6;
  --ink-muted: #777773;
  --ink-soft: #444440;
  --page-edge: clamp(20px, 3vw, 44px);
  --font-einhar: 'Einhar Sans', 'Segoe UI', Arial, sans-serif;
  --einhar-radius: 18px;
  --einhar-radius-small: 12px;
  --einhar-rule: rgba(255,255,255,.15);
}
html, body, html body :is(main, .journal-layout, .journal-center, .journal-sidebar, .journal-feed, .journal-article, .journal-article-head, .journal-article-body, .site-footer, .legal-layout) {
  background: #000 !important;
  color: var(--ink-primary) !important;
}
html body :is(h1, h2, h3, h4, .journal-entry-title, .journal-article-end, .journal-return, .journal-back-link, .recent-card-title, .footer-bottom a, .page-legal .legal-layout a) {
  color: var(--ink-primary) !important;
}
html body :is(p, .journal-entry-summary, .journal-article-deck, .journal-article-body ul, .journal-article-body ol, .page-legal .legal-layout p) {
  color: var(--ink-secondary) !important;
}
html body :is(.journal-entry-meta, .journal-article-meta, .journal-index-link, .journal-topic-count, .recent-metadata, .footer-founder) {
  color: var(--ink-muted) !important;
}
html body a:hover, html body a:focus-visible { color: var(--ink-primary) !important; }
html body a:focus-visible, html body button:focus-visible, html body summary:focus-visible { outline: 2px solid #f4f4f2 !important; outline-offset: 4px; }
html body .site-header { display: none !important; }
html body .skip { color: #fff !important; background: #000 !important; }

/* EINHAR / THE HOUSE.
   A single object establishes the identity. The company record fans outward
   from that center in an asymmetric editorial rhythm—no cards or rule lines. */
html body.page-home main#main { width: 100%; padding: 0 !important; background: #000 !important; }
.page-home .quiet-hero {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 100svh;
  margin: 0;
  padding: clamp(160px,22svh,210px) 24px 135px;
  background: #000 !important;
}
.page-home .mark-stage {
  width: min(450px,76vw);
  height: min(450px,50svh);
  min-height: 0;
  margin: 0 auto;
  display: grid;
  place-items: center;
}
.page-home .mark-motion,
.page-home .mark-still {
  display: block;
  width: 100%;
  height: 100%;
  grid-area: 1/1;
  object-fit: contain;
}
.page-home .mark-still { display: none; }
.page-home .einhar-introduction {
  box-sizing: border-box;
  width: min(630px,100%);
  padding: 0 24px;
  margin: clamp(34px,5.5vh,65px) auto 0;
}
.page-home .einhar-introduction h1 {
  margin: 0 0 19px !important;
  color: #f4f4f0 !important;
  font: 620 21px/1.25 var(--font-einhar);
  letter-spacing: -.025em;
}
.page-home .einhar-introduction .einhar-lead {
  max-width: 590px;
  margin: 0 0 18px !important;
  color: #f0f0ec !important;
  font: 560 18px/1.58 var(--font-einhar);
  letter-spacing: -.014em;
}
.page-home .einhar-introduction p:not(.einhar-lead) {
  max-width: 585px;
  margin: 0 !important;
  color: #d9d9d5 !important;
  font: 410 17px/1.7 var(--font-einhar);
  letter-spacing: -.006em;
}
.page-home .einhar-writing {
  box-sizing: border-box;
  width: min(1240px,100%);
  max-width: none;
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  grid-auto-rows: auto;
  gap: clamp(120px,14vw,210px) 0;
  margin: 70px auto 0;
  padding: 0 clamp(24px,4vw,65px);
}
.page-home .einhar-note {
  display: grid;
  grid-template-columns: minmax(135px,.34fr) minmax(0,1fr);
  align-items: start;
  gap: clamp(20px,3vw,48px);
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
}
.page-home .einhar-note--origin { grid-column: 2 / span 9; }
.page-home .einhar-note--structure { grid-column: 5 / span 8; }
.page-home .einhar-note--future { grid-column: 2 / span 9; }
.page-home .einhar-note--writing { grid-column: 5 / span 8; }
.page-home .einhar-note h2 {
  margin: 1px 0 0 !important;
  color: #f1f1ee !important;
  font: 620 17px/1.5 var(--font-einhar);
  letter-spacing: -.014em;
}
.page-home .einhar-writing .einhar-note > p {
  max-width: 650px;
  margin: 0 !important;
  color: #d7d7d3 !important;
  font: 410 17px/1.74 var(--font-einhar);
  letter-spacing: -.005em;
}
.page-home #recent-posts {
  display: grid !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}
.page-home #recent-posts[hidden] { display: none !important; }
.page-home #recent-posts .quiet-section-heading {
  grid-column: 1;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}
.page-home #recent-posts .quiet-section-heading h2 { margin: 0 0 9px !important; }
.page-home #recent-posts .quiet-section-heading a {
  color: #d0d0cc !important;
  font: 450 13.5px/1.45 var(--font-einhar);
  text-decoration: none;
}
.page-home #recent-posts .quiet-section-heading a:hover { color: #fff !important; text-decoration: underline; text-underline-offset: 4px; }
.page-home #recent-posts .recent-entries {
  display: block !important;
  grid-column: 2;
  width: 100%;
  min-width: 0;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}
.page-home #recent-posts .recent-card {
  display: block !important;
  width: 100%;
  margin: 0 0 25px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  text-decoration: none;
}
.page-home #recent-posts .recent-card:nth-child(n+4),
.page-home #recent-posts .recent-media { display: none !important; }
.page-home #recent-posts .recent-metadata {
  display: block;
  margin: 0 0 6px !important;
  color: #b1b1ad !important;
  font: 440 13px/1.46 var(--font-einhar);
}
.page-home #recent-posts .recent-card-title {
  display: block;
  color: #efefec !important;
  font: 520 17px/1.46 var(--font-einhar);
  letter-spacing: -.016em;
}
.page-home #recent-posts .recent-card:hover .recent-card-title { text-decoration: underline; text-underline-offset: 4px; }
.page-home .einhar-endmatter {
  box-sizing: border-box;
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px clamp(20px,3vw,45px);
  width: min(1120px,calc(100% - 48px));
  margin: clamp(150px,18vw,260px) auto 0;
  padding: 0 0 160px;
}
.page-home .einhar-endmatter span,
.page-home .einhar-endmatter a,
.page-home .einhar-endmatter small {
  font: 460 14px/1.5 var(--font-einhar);
  color: #bcbcb8 !important;
  text-decoration: none;
}
.page-home .einhar-endmatter span { color: #f5f5f2 !important; font-weight: 630; }
.page-home .einhar-endmatter small { margin-left: auto; }
.page-home .einhar-endmatter a:hover { color: #fff !important; }

/* Thoughts remains readable and browsable, without a bar or card framing. */
html body.journal-page:not(.journal-page-article) .journal-layout { width: min(940px, 100%); margin: 0 auto; padding: clamp(110px, 17vh, 170px) var(--page-edge) 150px !important; }
html body.journal-page:not(.journal-page-article) .journal-intro { margin-bottom: 48px; }
html body.journal-page:not(.journal-page-article) .journal-intro h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 17px; }
html body.journal-page:not(.journal-page-article) .journal-intro p { max-width: 510px; font-size: 15px; line-height: 1.55; }
html body.journal-page:not(.journal-page-article) .journal-sidebar { margin-bottom: 65px; }
html body.journal-page:not(.journal-page-article) .journal-index-link[data-topic] { background: none !important; padding: 5px 8px; border-radius: 4px; }
html body.journal-page:not(.journal-page-article) .journal-index-link[data-topic][aria-current='page'] { color: #fff !important; font-weight: 600; text-decoration: none; }
html body.journal-page:not(.journal-page-article) .journal-feed { gap: 65px; }
html body.journal-page:not(.journal-page-article) .journal-feature { max-width: 760px; }
html body.journal-page:not(.journal-page-article) .journal-entry { max-width: 760px; }
html body .journal-entry-art { background: #111 !important; }
html body .journal-feature .journal-entry-art { max-height: 360px; }
html body .journal-entry-image, html body .journal-article-figure img, html body .journal-article-body img { filter: grayscale(1) contrast(1.04) !important; }
html body .journal-entry-title { font-weight: 480; }
html body .journal-entry-summary { color: var(--ink-secondary) !important; }
html body .journal-entry-kind, html body .journal-entry-date { color: var(--ink-muted) !important; }

/* Article covers use their own diagrams as the image, with editorial type in the same plane. */
html body.journal-page:not(.journal-page-article) .journal-feed { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px !important; }
html body.journal-page:not(.journal-page-article) :is(.journal-feature,.journal-entry) { position: relative; display: flex !important; flex-direction: column; box-sizing: border-box; min-width: 0; min-height: 420px; margin: 0 !important; padding: 28px; overflow: hidden; background: #171716 !important; color: #f4f4f2 !important; text-decoration: none !important; }
html body.journal-page:not(.journal-page-article) .journal-feature { grid-column: 1 / -1; min-height: 450px; }
html body.journal-page:not(.journal-page-article) .journal-entry-art { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent !important; pointer-events: none; }
html body.journal-page:not(.journal-page-article) .journal-entry-image { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .65; filter: grayscale(1) invert(1) contrast(1.25) !important; mix-blend-mode: screen; mask-image: linear-gradient(#000 0%, #000 42%, transparent 84%); transition: transform .65s cubic-bezier(.2,.7,.2,1); }
html body.journal-page:not(.journal-page-article) :is(.journal-feature,.journal-entry):is(:hover,:focus-visible) .journal-entry-image { transform: scale(1.045); }
html body.journal-page:not(.journal-page-article) .journal-entry-copy { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; align-items: start; width: 100%; padding: 0 !important; background: none !important; }
html body.journal-page:not(.journal-page-article) .journal-entry-meta { order: -1; display: flex; align-items: baseline; width: 100%; margin: 0 0 auto; gap: 12px; color: #aaa9a6 !important; font: 450 12px/1.4 var(--font-einhar); }
html body.journal-page:not(.journal-page-article) .journal-entry-author { display: none; }
html body.journal-page:not(.journal-page-article) .journal-entry-kind { color: inherit !important; }
html body.journal-page:not(.journal-page-article) .journal-entry-date { margin-left: auto; color: inherit !important; }
html body.journal-page:not(.journal-page-article) .journal-entry-title { max-width: 580px; margin: 0 0 12px !important; color: #f4f4f2 !important; font: 490 clamp(22px, 2.2vw, 31px)/1.18 var(--font-einhar); letter-spacing: -.035em; }
html body.journal-page:not(.journal-page-article) .journal-entry-summary { display: block; max-width: 490px; margin: 0 !important; color: #aaa9a6 !important; font: 400 13px/1.5 var(--font-einhar); }
html body.journal-page:not(.journal-page-article) .journal-entry:nth-child(3n) { background: #efeeea !important; color: #151514 !important; }
html body.journal-page:not(.journal-page-article) .journal-entry:nth-child(3n) .journal-entry-image { opacity: .9; filter: grayscale(1) contrast(1.07) !important; mix-blend-mode: multiply; }
html body.journal-page:not(.journal-page-article) .journal-entry:nth-child(3n) :is(.journal-entry-title,.journal-entry-kind,.journal-entry-date) { color: #151514 !important; }
html body.journal-page:not(.journal-page-article) .journal-entry:nth-child(3n) :is(.journal-entry-meta,.journal-entry-summary) { color: #64645f !important; }
html body.journal-page:not(.journal-page-article) .journal-feed > [hidden] { display: none !important; }
html body.journal-page:not(.journal-page-article) .journal-feed > .journal-entry:nth-child(n+4) { grid-column: 1 / -1; min-height: 0; padding: 20px 0; background: #000 !important; }
html body.journal-page:not(.journal-page-article) .journal-feed > .journal-entry:nth-child(n+4) .journal-entry-art { display: none; }
html body.journal-page:not(.journal-page-article) .journal-feed > .journal-entry:nth-child(n+4) .journal-entry-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 30px; }
html body.journal-page:not(.journal-page-article) .journal-feed > .journal-entry:nth-child(n+4) .journal-entry-title { grid-column: 1; grid-row: 1; margin-bottom: 7px !important; font-size: clamp(18px, 2vw, 22px); }
html body.journal-page:not(.journal-page-article) .journal-feed > .journal-entry:nth-child(n+4) .journal-entry-summary { grid-column: 1; grid-row: 2; color: var(--ink-muted) !important; }
html body.journal-page:not(.journal-page-article) .journal-feed > .journal-entry:nth-child(n+4) .journal-entry-meta { grid-column: 2; grid-row: 1; gap: 14px; width: auto; margin: 0; color: var(--ink-muted) !important; }
html body.journal-page:not(.journal-page-article) .journal-feed > .journal-entry:nth-child(n+4) :is(.journal-entry-title,.journal-entry-kind,.journal-entry-date) { color: var(--ink-primary) !important; }

html body.journal-page-article .journal-layout { width: min(1110px, 100%); margin: 0 auto; grid-template-columns: 170px minmax(0, 1fr); column-gap: clamp(45px, 6vw, 85px); padding: clamp(95px, 14vh, 155px) var(--page-edge) 150px !important; }
html body.journal-page-article .journal-article-head, html body.journal-page-article .journal-article-body { max-width: 720px; }
html body.journal-page-article .journal-article h1 { max-width: 760px; font-size: clamp(36px, 4vw, 54px); line-height: 1.12; }
html body.journal-page-article .journal-article-deck { max-width: 650px; color: var(--ink-secondary) !important; }
html body.journal-page-article .journal-article-figure { max-width: 760px; margin-block: 50px 62px; background: #111 !important; }
html body.journal-page-article .journal-article-body p, html body.journal-page-article .journal-article-body ul, html body.journal-page-article .journal-article-body ol { color: #c7c7c3 !important; font-size: 16px; line-height: 1.75; }
html body.journal-page-article .journal-article-body h2 { color: #f4f4f2 !important; }
html body.journal-page-article .journal-index-link { color: var(--ink-muted) !important; background: none !important; }
html body.journal-page-article .journal-index-link:is(:hover,:focus-visible,[aria-current='location']) { color: #fff !important; background: #171717 !important; }
html body .journal-article-body a { color: #f4f4f2 !important; text-decoration-color: #777 !important; }
html body .journal-article-body blockquote, html body .journal-article-body pre { color: #d6d6d3 !important; background: #171717 !important; }

/* The bottom dock stays available while pages branch away from the homepage. */
/* The whole company uses one unobtrusive masthead, not a floating product dock. */
html body .site-footer {
  position: fixed !important;
  z-index: 60;
  inset: 0 0 auto !important;
  width: 100% !important;
  min-height: 0 !important;
  background: transparent !important;
  pointer-events: none;
}
html body .site-footer .site-dock {
  box-sizing: border-box;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: min(1550px,100%);
  min-height: 76px;
  margin: 0 auto;
  padding: 19px clamp(24px,5.4vw,88px);
  gap: 30px;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  pointer-events: auto;
}
html body .site-footer .dock-links {
  display: flex;
  align-items: center;
  gap: clamp(20px,2.4vw,38px);
  margin-left: auto;
}
html body .site-footer .site-dock a {
  color: #a6a6a3 !important;
  font: 450 13px/1.4 var(--font-einhar);
  text-decoration: none;
  white-space: nowrap;
}
html body .site-footer .site-dock a:is(:hover,:focus-visible) { color: #fff !important; }
html body .site-footer .site-dock .dock-brand {
  color: #f1f1ee !important;
  font: 570 18px/1.2 var(--font-einhar);
  letter-spacing: -.045em;
}
html body.page-work .site-dock a[href="work.html"],
html body.journal-page .site-dock a[href="journal.html"] { color: #f4f4f2 !important; }
html body .site-footer .dock-top { display: none; }
.page-work .work-return { display: none; }

html body.page-legal .legal-layout { width: min(760px, 100%); max-width: none; margin: 0 auto; padding: clamp(100px, 16vh, 160px) var(--page-edge) 140px; }
html body.page-legal .legal-layout h1 { font-size: clamp(34px, 4vw, 54px); }
html body.page-legal .legal-layout h2 { font-size: clamp(23px, 2.5vw, 32px); }
html body.page-legal .legal-layout p { color: var(--ink-secondary) !important; }

/* Work is a portfolio record, not a separate product landing page. */
html body.page-work main.work-layout { box-sizing: border-box; width: min(1320px,100%); min-height: 100svh; margin: 0 auto; padding: 52px clamp(24px,5.4vw,88px) 190px; }
.page-work .work-return { color: #e9e8e5; font: 570 17px/1.4 var(--font-einhar); letter-spacing: -.04em; text-decoration: none; }
.page-work .work-opening { display: grid; grid-template-columns: 1fr .65fr; gap: 45px; align-items: end; margin: clamp(100px,13vw,185px) 0 clamp(110px,12vw,165px); }
.page-work .work-opening h1 { margin: 0; color: #f5f4f1 !important; font: 520 clamp(75px,9.5vw,128px)/.9 var(--font-einhar); letter-spacing: -.073em; }
.page-work .work-opening p { max-width: 385px; margin: 0 0 4px; color: #acaba7 !important; font: 400 18px/1.55 var(--font-einhar); }
.page-work .work-case { padding-top: 30px; border-top: 1px solid var(--einhar-rule); }
.page-work .work-case-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 34px; }
.page-work .work-kind { display: block; margin-bottom: 21px; color: #878783; font: 450 12px/1.5 var(--font-einhar); }
.page-work .work-case-heading h2 { margin: 0 0 11px; color: #f4f3f0 !important; font: 510 clamp(43px,5vw,70px)/.96 var(--font-einhar); letter-spacing: -.06em; }
.page-work .work-case-heading p { max-width: 460px; margin: 0; color: #a7a7a3 !important; font: 400 16px/1.5 var(--font-einhar); }
.page-work .work-case-heading a { display: inline-block; padding-bottom: 5px; border-bottom: 1px solid #a3a29e; color: #eee !important; font: 500 14px/1.4 var(--font-einhar); text-decoration: none; white-space: nowrap; }
.page-work .work-case-heading a:hover { border-color: #fff; }
.page-work .work-gallery { display: grid; grid-template-columns: 1.15fr 1fr .85fr; gap: 12px; height: clamp(300px,33vw,470px); }
.page-work .work-plate { min-width: 0; height: 100%; margin: 0; overflow: hidden; border-radius: var(--einhar-radius); background: #202020; }
.page-work .work-plate img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.page-work .work-plate:hover img { transform: scale(1.025); }
.page-work .work-caption { margin: 19px 0 0; color: #8b8b88 !important; font: 400 12.5px/1.5 var(--font-einhar); }

/* The same surface vocabulary extends to company writing and legal pages. */
html body.journal-page:not(.journal-page-article) .journal-layout { width: min(1120px,100%); }
html body.journal-page:not(.journal-page-article) .journal-intro h1 { font-size: clamp(50px,6vw,78px); line-height: 1; letter-spacing: -.065em; }
html body.journal-page:not(.journal-page-article) .journal-feed { gap: 14px !important; }
html body.journal-page:not(.journal-page-article) :is(.journal-feature,.journal-entry) { border-radius: var(--einhar-radius) !important; }
html body.journal-page:not(.journal-page-article) .journal-index-link[data-topic] { border-radius: var(--einhar-radius-small) !important; }
html body.journal-page-article .journal-article-figure,
html body.journal-page-article .journal-article-body img { border-radius: var(--einhar-radius); overflow: hidden; }
html body .journal-article-body blockquote,
html body .journal-article-body pre { border-radius: var(--einhar-radius-small); }
html body.page-legal .legal-layout h1 { letter-spacing: -.055em; }

@media (max-width: 1000px) {
  .page-home .einhar-note--origin { grid-column: 1 / span 11; }
  .page-home .einhar-note--structure { grid-column: 3 / span 10; }
  .page-home .einhar-note--future { grid-column: 1 / span 11; }
  .page-home .einhar-note--writing { grid-column: 3 / span 10; }
}
@media (max-width: 760px) {
  html body { --page-edge: 20px; }
  html body .site-footer .site-dock {
    min-height: 62px;
    padding: 15px 20px;
    gap: 18px;
    background: rgba(0,0,0,.94);
  }
  html body .site-footer .site-dock .dock-brand { font-size: 15px; }
  html body .site-footer .dock-links { gap: clamp(11px,2.5vw,19px); }
  html body .site-footer .site-dock a { font-size: 11.75px; }
  .page-home .quiet-hero { min-height: 100svh; padding: clamp(180px,28svh,250px) 24px 95px; }
  .page-home .mark-stage { width: min(330px,85vw); height: min(330px,42svh); }
  .page-home .einhar-introduction { width: 100%; padding: 0; margin-top: clamp(30px,4vw,52px); }
  .page-home .einhar-introduction h1 { font-size: 20px; margin-bottom: 15px !important; }
  .page-home .einhar-introduction .einhar-lead { font-size: 17.5px; margin-bottom: 15px !important; }
  .page-home .einhar-introduction p:not(.einhar-lead) { font-size: 16.5px; line-height: 1.7; }
  .page-home .einhar-writing {
    display: block;
    width: 100%;
    margin: 85px auto 0;
    padding: 0 24px;
  }
  .page-home .einhar-note {
    display: block;
    width: 100%;
    margin: 0 0 105px !important;
  }
  .page-home .einhar-note h2 { font-size: 17px; line-height: 1.45; margin-bottom: 19px !important; }
  .page-home .einhar-writing .einhar-note > p { font-size: 16.5px; line-height: 1.7; }
  .page-home #recent-posts { display: block !important; }
  .page-home #recent-posts[hidden] { display: none !important; }
  .page-home #recent-posts .quiet-section-heading { margin-bottom: 26px; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
  .page-home #recent-posts .quiet-section-heading h2 { margin: 0 !important; }
  .page-home #recent-posts .recent-card-title { font-size: 16.5px; }
  .page-home .einhar-endmatter {
    width: calc(100% - 48px);
    margin-top: 85px;
    padding: 0 0 115px;
    gap: 12px 25px;
  }
  .page-home .einhar-endmatter small { margin-left: 0; }
  html body.journal-page-article .journal-layout { display: block; padding: 100px var(--page-edge) 130px !important; }
  html body.journal-page-article .journal-sidebar { margin-bottom: 28px; }
  html body.journal-page-article .journal-article-figure { margin-block: 40px 48px; }
  html body.journal-page:not(.journal-page-article) .journal-feed { grid-template-columns: 1fr; }
  html body.journal-page:not(.journal-page-article) .journal-feature { grid-column: auto; }
  html body.journal-page:not(.journal-page-article) :is(.journal-feature,.journal-entry) { min-height: 410px; padding: 23px; }
  html body.journal-page:not(.journal-page-article) .journal-feed > .journal-entry:nth-child(n+4) .journal-entry-copy { grid-template-columns: 1fr; }
  html body.journal-page:not(.journal-page-article) .journal-feed > .journal-entry:nth-child(n+4) .journal-entry-meta { grid-column: 1; grid-row: 3; margin-top: 12px; }
  .page-work .work-opening { grid-template-columns: 1fr; gap: 24px; margin: 95px 0 100px; }
  .page-work .work-opening h1 { font-size: clamp(69px,17vw,94px); }
  .page-work .work-opening p { font-size: 16px; }
  .page-work .work-case-heading { display: block; margin-bottom: 28px; }
  .page-work .work-kind { margin-bottom: 19px; }
  .page-work .work-case-heading h2 { font-size: 49px; }
  .page-work .work-case-heading p { max-width: 360px; font-size: 15px; }
  .page-work .work-case-heading a { margin-top: 23px; }
  .page-work .work-gallery { height: auto; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .page-work .work-plate { height: clamp(185px,48vw,270px); }
  .page-work .work-plate:first-child { grid-column: 1 / -1; height: clamp(280px,75vw,420px); }
}
@media (max-width: 360px) {
  html body .site-footer .site-dock { padding-inline: 13px; gap: 10px; }
  html body .site-footer .dock-links { gap: 9px; }
  html body .site-footer .site-dock a { font-size: 10.75px; }
  html body .site-footer .site-dock .dock-brand { font-size: 13px; }
  .page-home .quiet-hero { padding: clamp(140px,25svh,185px) 20px 82px; }
  .page-home .mark-stage { width: min(280px,86vw); height: min(280px,38svh); }
  .page-home .einhar-writing { padding-inline: 20px; }
  .page-home .einhar-endmatter { width: calc(100% - 40px); }
}
@media (prefers-reduced-motion: reduce) {
  .page-home .mark-motion { display: none; }
  .page-home .mark-still { display: block; }
  .page-work .work-plate img { transition: none; }
  html body.journal-page:not(.journal-page-article) .journal-entry-image { transition: none; }
}


/* Scroll remains native; the browser rail is hidden throughout Einhar. */
html,body{
  scrollbar-width:none;
  -ms-overflow-style:none;
}
html::-webkit-scrollbar,body::-webkit-scrollbar{
  display:none;
  width:0;
  height:0;
}
