/* Meadow-era subpages (meadow-work/patch-work.mjs copies this to /assets/meadow-sub.css?v=<hash> and links it after every
   other stylesheet on each subpage that carries the house header). Approved proof: /tmp/subpage-proof-v2 (v1 Sunlit Valley
   opening, centered closing). Markup it styles is written by patch-work.mjs:
     .opening > .m-sky + .m-haze          the sky-b plate, its graded hills, the light behind the words, the fall into the page
     .rail .hand                           a 2x20 transparent picture reading.js still moves (--y); drawn here as a sage stem
     .entries.m-index                      the journal's index without its paintings
     .m-end > .m-close + .m-foot           the closing band and the home page's footer bar, in place of footer.colophon
   Day and night follow html[data-mode] (set before first paint from localStorage "obc-mode"). */

@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/instrument-serif-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --leaf: #2f7d52;
  --leaf-track: rgb(23 38 38 / 0.12);
  --foot-ground: #0e1511;
  --mm: clamp(16px, 4.5vw, 64px);   /* the home page's side margin */
  --sky: url(/meadow-assets/plates/sky-b-1376.jpg);
  --sky-ph: url(/meadow-assets/plates/sky-b-portrait.jpg);
  --o-ink: #172626;
  --o-ink-2: #2b3b39;
  --o-ink-meta: #1f302e;
  --haze: 250 247 240;
}
@media (min-width: 100em), (min-width: 48em) and (min-resolution: 1.5dppx) { :root { --sky: url(/meadow-assets/plates/sky-b.jpg); } }

/* ---------- night: the home's midnight slate on every subpage ---------- */
html[data-mode="night"] {
  --paper: #0b141a; --paper-2: #0f1b22; --paper-3: #14222b; --line: #27363f; --ink: #ece7dc; --ink-2: #a8b1ab; --stone: #7f8a84;
  --sage: #8fb7a0; --teal: #8fd0d6; --leaf: #7bd4a0; --leaf-track: rgb(244 241 232 / 0.12);
  --cream: var(--paper); --sand: var(--line); --graphite: var(--ink); --earth: var(--ink-2);
  --sky: url(/meadow-assets/plates/sky-b-night-1376.jpg);
  --sky-ph: url(/meadow-assets/plates/sky-b-portrait-night.jpg);
  --o-ink: #f4f1e8; --o-ink-2: #dcdcd2; --o-ink-meta: #e4e4da; --haze: 11 20 26;
  color-scheme: dark;
}
@media (min-width: 100em), (min-width: 48em) and (min-resolution: 1.5dppx) { html[data-mode="night"] { --sky: url(/meadow-assets/plates/sky-b-night.jpg); } }
html[data-mode="night"], html[data-mode="night"] body { background: #0b141a; color: var(--ink); }
html[data-mode="night"] .hh::before { background: linear-gradient(180deg, rgb(11 20 26 / 0.6), rgb(11 20 26 / 0.25) 65%, rgb(11 20 26 / 0)); }
html[data-mode="night"] .hh .hh-brand, html[data-mode="night"] .hh .hh-brand .word { color: rgb(198 233 227) !important; }
html[data-mode="night"] .button:not(.cap-panel), html[data-mode="night"] .button:not(.cap-panel) * { color: #1f2a2a !important; }   /* the glass pills stay light, so their labels stay dark; the night menu panel stays dark glass with cream links */
html[data-mode="night"] .button[data-glass="teal"], html[data-mode="night"] .button[data-glass="teal"] * { color: #fff !important; }
html[data-mode="night"] a { color: inherit; }
html[data-mode="night"] .facts li, html[data-mode="night"] figcaption, html[data-mode="night"] .when, html[data-mode="night"] .next small { color: var(--ink-2); }
html[data-mode="night"] .next .next-h { color: var(--ink-2); }
html[data-mode="night"] .figure .side kbd { background: var(--paper-3); box-shadow: 0 0 0 1px var(--line); color: var(--ink); }
html[data-mode="night"] mark.needs { background: #5a4a12; color: #fff3b0; }
html[data-mode="night"] mark.tbd { background: rgb(221 214 194 / 0.18); }
html[data-mode="night"] .read a { text-decoration-color: rgb(236 231 220 / 0.35); }
html[data-mode="night"] .read a:hover { text-decoration-color: var(--ink); }
html[data-mode="night"] ::selection { background: rgb(123 212 160 / 0.3); }
/* drawings made for linen keep a linen card at night, so their inks read as drawn */
html[data-mode="night"] .read .figure .stage, html[data-mode="night"] .read figure.chart, html[data-mode="night"] .read .plate img {
  background: #f3efe6; border-radius: 12px; }
html[data-mode="night"] .read figure.chart { padding: 1.25rem 1.25rem 1rem; color: #2d2d2a; --ink: #2d2d2a; --ink-2: #605a51; --earth: #605a51; --graphite: #2d2d2a; --sand: #ddd6c2; --line: #ddd6c2; --stone: #9d9a89; }

/* ---------- reading room ---------- */
.room { padding-top: 1.5rem; }
.read h2 { color: var(--ink); }
.read h2::after { background: var(--sand); }
.spec th, .spec td { border-color: var(--sand); }
.said { border-left-color: var(--leaf); border-left-width: 2px; }
.better li::before { border-color: var(--leaf); }
.next { border-top: 1px solid var(--sand); }
.next a + a { border-left-color: var(--sand); }
.next a:hover b { text-decoration-color: var(--leaf); }

/* ---------- opening: Sunlit Valley ---------- */
html .opening {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; justify-content: center; align-content: end; align-items: end;
  grid-template-columns: var(--rail, 12rem) var(--col, 39rem) var(--note, 12rem); column-gap: var(--gap, 3.5rem);
  grid-template-rows: auto auto auto auto;
  min-height: clamp(34rem, 68svh, 42rem);
  padding: calc(var(--hh, 92px) + 2rem) clamp(1.25rem, 4vw, 2rem) var(--open-pb, 10.5rem);
  text-align: left; background: none;
}
html .opening::before { content: none; }
html .opening > h1 { grid-column: 2; grid-row: 2; justify-self: start; margin: 0; max-width: 15.5em;
  font-size: clamp(2.35rem, 3.7vw, 3.55rem); line-height: 1.04; letter-spacing: -0.034em; font-weight: 500; color: var(--o-ink); text-wrap: balance; }
html .opening > h1 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: 1.1em; line-height: 0.9; letter-spacing: -0.012em; }
html .opening > .letter { grid-column: 2; grid-row: 3; justify-self: start; max-width: 34rem; margin: 1.1rem 0 0;
  font-size: clamp(1.0625rem, 1.2vw, 1.1875rem); line-height: 1.5; color: var(--o-ink-2); }
html .opening > .letter b { font-weight: 500; color: var(--o-ink); }
html .opening > .letter sup { color: inherit; }
html .opening > .meta { grid-column: 1; grid-row: 3; align-self: end; justify-self: start; max-width: none; margin: 0 0 0.3rem;
  font-size: 0.875rem; line-height: 1.5; letter-spacing: 0; color: var(--o-ink-meta, var(--o-ink-2)); }
html .opening > .meta .m-k { color: var(--o-ink); font-weight: 500; }
html .opening > .meta :is(.m-k, .m-v) { display: block; }
html .opening > .meta .m-dot { display: none; }
html .opening > .m-sky { grid-column: auto; grid-row: auto; }   /* reading.css puts every child of the phone opening in its column */
html .opening > .next { grid-column: 2 / -1; grid-row: 4; justify-self: stretch; width: auto; max-width: 44rem; margin: 2rem 0 0; padding: 0; border: 0; text-align: left; }
html .opening > .next .next-h { color: var(--o-ink-2); text-align: left; }
html .opening > .next .next-row { grid-template-columns: 1fr 1fr; gap: 0; margin-top: 0.6rem; }
html .opening > .next a { padding: 0.25rem 2rem 0.25rem 0; }
html .opening > .next a + a { padding: 0.25rem 0 0.25rem 2rem; border-left: 1px solid rgb(23 38 38 / 0.18); }
html .opening > .next span { margin: 0.35rem 0 0; }
html .opening > .next b { color: var(--o-ink); font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
html .opening > .next span { color: var(--o-ink-2); }
html .opening > .next a + a { border-left-color: rgb(23 38 38 / 0.18); }
html[data-mode="night"] .opening > .next a + a { border-left-color: rgb(244 241 232 / 0.2); }
html .opening:has(> .next) { --open-pb: 8rem; }

/* the plate, the hills (the same plate graded greener, masked to the lower band), the horizon light, the page below */
.m-sky { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: #0b6aa6 var(--sky) 50% 100% / cover no-repeat; }
html[data-mode="night"] .m-sky { background-color: #0b1a2c; }
.m-sky::before { content: ""; position: absolute; inset: 0; background: inherit;
  filter: saturate(1.55) contrast(1.08) brightness(0.98) hue-rotate(-22deg);
  -webkit-mask-image: linear-gradient(to bottom, transparent 74%, #000 86%); mask-image: linear-gradient(to bottom, transparent 74%, #000 86%); }
html[data-mode="night"] .m-sky::before { filter: saturate(1.25) brightness(1.05); }
.m-sky::after { content: ""; position: absolute; inset: 0;
  background:
    /* the sky deepens toward the top corner, so the mint O in the header always has blue behind it, even on a cloud */
    radial-gradient(ellipse 15rem 9rem at calc(var(--m, 4.5vw) + 1.4rem) 2.9rem, rgb(8 66 128 / 0.62), rgb(8 66 128 / 0.32) 50%, rgb(8 66 128 / 0)),
    linear-gradient(to bottom, rgb(var(--haze) / 0) 34%, rgb(var(--haze) / 0.4) 60%, rgb(var(--haze) / 0.28) 76%, rgb(var(--haze) / 0) 86%),
    linear-gradient(to bottom, transparent 86%, color-mix(in srgb, var(--paper) 55%, transparent) 93%, var(--paper) 100%); }
html[data-mode="night"] .m-sky::after { background:
    linear-gradient(to bottom, rgb(11 20 26 / 0) 30%, rgb(11 20 26 / 0.34) 58%, rgb(11 20 26 / 0.2) 80%, rgb(11 20 26 / 0) 88%),
    linear-gradient(to bottom, transparent 84%, color-mix(in srgb, var(--paper) 60%, transparent) 92%, var(--paper) 100%); }
/* a soft pool of light that follows the words wherever they wrap: it sits in their grid area */
.m-haze { position: absolute; z-index: -1; pointer-events: none; grid-column: 1 / 3; grid-row: 2 / 4; inset: -8rem -11rem -6.5rem -8rem;
  background: radial-gradient(closest-side, rgb(var(--haze) / 0.8), rgb(var(--haze) / 0.74) 42%, rgb(var(--haze) / 0.46) 68%, rgb(var(--haze) / 0.14) 87%, rgb(var(--haze) / 0)); }
html[data-mode="night"] .m-haze { background: radial-gradient(closest-side, rgb(11 20 26 / 0.9), rgb(11 20 26 / 0.84) 44%, rgb(11 20 26 / 0.56) 70%, rgb(11 20 26 / 0.18) 88%, rgb(11 20 26 / 0)); }
.opening:has(> .next) .m-haze { grid-row: 2 / 5; grid-column: 1 / -1; }
html[data-mode="night"] .opening > :is(h1, .letter, .meta) { text-shadow: 0 1px 2px rgb(5 10 16 / 0.35), 0 2px 18px rgb(5 10 16 / 0.4); }

@media (max-width: 73.75em) { html .opening { grid-template-columns: var(--rail, 12rem) minmax(0, var(--col, 39rem)); } }
@media (max-width: 51.25em) {
  html .opening { grid-template-columns: minmax(0, var(--col, 39rem)); }
  html .opening > :is(h1, .letter, .meta, .next) { grid-column: 1; }
  html .opening > .meta { grid-row: 1; align-self: start; margin: 0 0 0.85rem; }
  html .opening > .meta :is(.m-k, .m-v, .m-dot) { display: inline; }
  .m-haze { grid-column: 1; grid-row: 1 / 4; inset: -4rem -3rem -3.5rem -3rem; }
  .opening:has(> .next) .m-haze { grid-row: 1 / 5; }
}
@media (max-width: 47.99em) {
  :root, html[data-mode="night"] { --sky: var(--sky-ph); }
  html .opening, html .opening.whole { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto; justify-items: start;
    align-content: end; min-height: min(40rem, 100svh - 4rem); padding: calc(var(--hh, 76px) + 2rem) 1.25rem var(--open-pb, 8.5rem); }
  html .opening > h1 { font-size: clamp(2.2rem, 10vw, 2.6rem); line-height: 1.05; max-width: none; }
  html .opening > .letter { font-size: 1.0625rem; max-width: none; margin-top: 0.9rem; }
  html .opening > .meta { max-width: none; }
  html .opening > .next { padding-top: 0; margin-top: 1.75rem; }
  html .opening > .next .next-row { grid-template-columns: 1fr; }
  html .opening > .next a, html .opening > .next a + a { padding: 0.9rem 0; border-left: 0; }
  html .opening > .next a + a { border-top: 1px solid rgb(23 38 38 / 0.18); }
  html[data-mode="night"] .opening > .next a + a { border-top-color: rgb(244 241 232 / 0.2); }
  html .opening:has(> .next) { --open-pb: 6rem; }
  html .opening:has(+ .room .m-cards) { min-height: 33rem; }
  .m-sky::before { -webkit-mask-image: linear-gradient(to bottom, transparent 70%, #000 82%); mask-image: linear-gradient(to bottom, transparent 70%, #000 82%); }
  /* on a phone the words fill the width, so the light is a band across the sky, like haze on the horizon */
  .m-haze { inset: -6rem -1.25rem -3.5rem -1.25rem;
    background: linear-gradient(to bottom, rgb(var(--haze) / 0), rgb(var(--haze) / 0.76) 30%, rgb(var(--haze) / 0.78) 50%, rgb(var(--haze) / 0.7) 80%, rgb(var(--haze) / 0)); }
  html[data-mode="night"] .m-haze { background: linear-gradient(to bottom, rgb(11 20 26 / 0), rgb(11 20 26 / 0.84) 30%, rgb(11 20 26 / 0.86) 50%, rgb(11 20 26 / 0.8) 80%, rgb(11 20 26 / 0)); }
}

/* header over the sky: the olive O flat (its glass lip and drop are drawn for linen), in mint white with a soft shadow
   until the page scrolls into the linen; at night it keeps the light sea glass */
.hh .hh-brand .word { transition: color var(--mo-state, 320ms) ease; }
html:has(.opening) .hh:not(.scrolled) .hh-brand .word .om g { filter: none !important; }
html:has(.opening) .hh:not(.scrolled) .hh-brand svg.word { filter: drop-shadow(0 0 1px rgb(6 36 74 / 0.55)) drop-shadow(0 1px 2px rgb(6 36 74 / 0.45)) drop-shadow(0 2px 12px rgb(6 36 74 / 0.4)) !important; }
html:not([data-mode="night"]):has(.opening) .hh:not(.scrolled) .hh-brand .word { color: #eef6f1 !important; }

/* ---------- contents: a sage stem that glides to the section in view ---------- */
.rail nav::before { content: ""; position: absolute; left: -1rem; top: -0.15rem; bottom: -0.15rem; width: 1px; background: var(--leaf-track); }
.rail .hand { left: calc(-1rem - 0.5px); top: 0; width: 2px !important; height: 20px !important; border-radius: 2px; background: var(--leaf); filter: none;
  /* reading.js puts the picture's top at the link's middle less 0.37 of its height (TIP, tuned for the painted hand); 2.6px more centers the stem */
  transform: translateY(calc(var(--y, 0px) - 2.6px)); transition: transform 520ms var(--ease), opacity 300ms; }
.rail a.on { color: var(--ink); font-weight: 500; }

/* ---------- the journal's index: title and reading time, then the summary ---------- */
.entries.m-index { gap: 0; border-bottom: 1px solid var(--sand); }
.entries.m-index > li { border-top: 1px solid var(--sand); }
.entries.m-index a { display: block; padding: 1.35rem 0.75rem 1.4rem; margin: 0 -0.75rem; border-radius: 6px; transition: background-color var(--mo-hover, 180ms) ease; }
.entries.m-index a > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 2rem; align-items: start; }
.entries.m-index h3 { grid-column: 1; grid-row: 1; transition: color var(--mo-hover, 180ms) ease; }
.entries.m-index p:not(.when) { grid-column: 2; grid-row: 1 / 3; margin-top: 0.1rem; font-size: 0.9375rem; line-height: 1.55; color: var(--earth); }
.entries.m-index .when { grid-column: 1; grid-row: 2; margin-top: 0.45rem; color: var(--earth); }
@media (hover: hover) {
  .entries.m-index a:hover { background: rgb(22 86 96 / 0.05); }
  .entries.m-index a:hover h3 { color: rgb(22 86 96); text-decoration-color: transparent; }
  html[data-mode="night"] .entries.m-index a:hover { background: rgb(143 208 214 / 0.07); }
  html[data-mode="night"] .entries.m-index a:hover h3 { color: #8fd0d6; }
}
@media (max-width: 40em) {
  .entries.m-index a > div { grid-template-columns: minmax(0, 1fr); }
  .entries.m-index p:not(.when) { grid-column: 1; grid-row: 2; margin-top: 0.45rem; }
  .entries.m-index .when { grid-row: 3; }
}

/* ---------- the /work/ hub: the opening and the four projects on the page grid, all four in view on a laptop ---------- */
@media (min-width: 64em) {
  html .opening:has(+ .room .m-cards) { min-height: clamp(31rem, 60svh, 34rem); --open-pb: 9.25rem; }
  html .opening:has(+ .room .m-cards) > :is(h1, .letter) { grid-column: 1 / -1; }
  .opening:has(+ .room .m-cards) .m-haze { grid-column: 1 / 3; }
  .room:has(.m-cards) > .read { grid-column: 1 / -1; }
  .room:has(.m-cards) > div:empty { display: none; }
  .entries.m-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
  .entries.m-cards a { grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
  .entries.m-cards img { aspect-ratio: 16 / 10; }
  .entries.m-cards h3 { font-size: 1.0625rem; }
  .entries.m-cards p { margin-top: 0.3rem; font-size: 0.9375rem; line-height: 1.5; }
  .entries.m-cards .when { margin-top: 0.45rem; }
}

/* ---------- /parishes/ at night (the production page, whose painting has no night of its own): the painting dimmed,
   the words in warm cream. A parishes page that brings its own night art (.lead-in .bg-night) styles its own night. ---------- */
html[data-mode="night"]:not(:has(.lead-in .bg-night)) .lead-in .bg img { filter: brightness(0.48) saturate(0.82); }
html[data-mode="night"]:not(:has(.lead-in .bg-night)) .lead-in::before { background: linear-gradient(90deg, rgb(11 20 26 / 0.74) 0%, rgb(11 20 26 / 0.5) 30%, rgb(11 20 26 / 0.08) 52%, rgb(11 20 26 / 0) 64%); }
html[data-mode="night"]:not(:has(.lead-in .bg-night)) .lead-in::after { background: linear-gradient(180deg, rgb(11 20 26 / 0), var(--paper)); }
html[data-mode="night"]:not(:has(.lead-in .bg-night)) .lead-in .bg::before { background: linear-gradient(180deg, var(--paper), rgb(11 20 26 / 0)); }
html[data-mode="night"]:not(:has(.lead-in .bg-night)) .lead-in .hero-copy, html[data-mode="night"]:not(:has(.lead-in .bg-night)) .lead-in .hero-copy :is(h1, p, b) { color: #fffaf0; text-shadow: 0 1px 2px rgb(5 10 14 / 0.45), 0 2px 18px rgb(5 10 14 / 0.5); }
html[data-mode="night"]:not(:has(.lead-in .bg-night)) .gets .shelf .bgp { filter: brightness(0.62) saturate(0.85); }
/* the phone screens and the form card are light objects, so they keep the day's inks */
html[data-mode="night"]:not(:has(.lead-in .bg-night)) :is(.gets .g, .flow) { --ink: #2d2d2a; --ink-2: #605a51; --earth: #605a51; --graphite: #2d2d2a; --line: #ddd6c2; --sand: #ddd6c2; --stone: #9d9a89; --paper: #f8f4ec; --paper-2: #fbf9f4; --paper-3: #f1ebe0; color: #2d2d2a; color-scheme: light; }

/* ---------- the close: the grass is actually greener, then the home page's footer ---------- */
.m-end { position: relative; isolation: isolate; overflow: hidden; border-radius: 2rem 2rem 0 0; background: var(--foot-ground); color: #f4f1e8; }
.m-close { position: relative; isolation: isolate; min-height: 46rem; display: flex; flex-direction: column; }
.m-close > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
.m-close > .m-night { display: none; }
html[data-mode="night"] .m-close > .m-day { display: none; }
html[data-mode="night"] .m-close > .m-night { display: block; }
.m-close::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 36% 30% at 50% 30%, rgb(250 247 238 / 0.64), rgb(250 247 238 / 0.32) 55%, rgb(250 247 238 / 0) 100%); }
.m-close::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgb(14 21 17 / 0), rgb(14 21 17 / 0.42) 34%, rgb(14 21 17 / 0.86) 62%, var(--foot-ground) 88%); }
html[data-mode="night"] .m-close::before { background: radial-gradient(ellipse 40% 32% at 50% 27%, rgb(10 16 30 / 0.66), rgb(10 16 30 / 0.34) 60%, rgb(10 16 30 / 0) 100%); }
.m-cta { padding: 5.5rem var(--mm) 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.m-cta .line { margin: 0; font-weight: 500; font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: 1; letter-spacing: -0.035em; color: #172626;
  text-shadow: 0 0 22px rgb(250 247 238 / 0.55); text-wrap: balance; }
.m-cta .line em { display: block; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: 1.12em; line-height: 0.95; letter-spacing: -0.01em; }
.m-cta .m-sub { margin: 0.95rem 0 0; font-size: clamp(1.05rem, 1.3vw, 1.22rem); line-height: 1.45; font-weight: 500; color: #172626;
  text-shadow: 0 0 3px rgb(250 247 238 / 0.9), 0 0 14px rgb(250 247 238 / 0.85); }
.m-cta .button { margin-top: 1.6rem; min-height: 52px; padding: 0 1.6rem; font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; }
html[data-mode="night"] .m-cta .line { color: #f7f3e9; text-shadow: 0 1px 2px rgb(5 10 20 / 0.35), 0 4px 26px rgb(5 10 20 / 0.35); }
html[data-mode="night"] .m-cta .line em { color: #f4ecd2; }
html[data-mode="night"] .m-cta .m-sub { color: rgb(247 243 233 / 0.94); font-weight: 400; text-shadow: 0 1px 2px rgb(5 10 20 / 0.45), 0 2px 16px rgb(5 10 20 / 0.45); }

.m-wrap { width: 100%; max-width: 76rem; margin: 0 auto; padding: 0 var(--mm); }
.m-journal { position: relative; margin-top: auto; padding-bottom: 1.6rem; }
.m-journal .m-journal-h { margin: 0 0 0.5rem; font-size: 0.9375rem; font-weight: 500; color: rgb(244 241 232 / 0.78); }
.m-journal ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.6rem; }
.m-journal li { border-top: 1px solid rgb(244 241 232 / 0.2); }
.m-end .m-journal a { display: flex; align-items: center; min-height: 44px; padding: 0.55rem 0 0.35rem; font-size: 1.02rem; line-height: 1.35; color: #f4f1e8; text-decoration: none; }
@media (hover: hover) { .m-journal a:hover { color: #fffaf0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgb(244 241 232 / 0.5); } }

/* the home page's footer bar, 1-to-1 (meadow/styles.css .foot) */
.m-foot { position: relative; padding: 6px 0 calc(22px + env(safe-area-inset-bottom)); background: var(--foot-ground); color: rgb(246 243 234 / 0.62); border-top: 1px solid rgb(244 241 232 / 0.08); }
.m-foot-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 10px 0; }
.m-foot-sign { display: flex; align-items: center; gap: 4px; }
.m-foot-mark { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; margin-left: -10px; border-radius: 50%; transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1); -webkit-tap-highlight-color: transparent; }
.m-foot-mark img { width: 24px; height: 24px; filter: brightness(1.48) saturate(0.84); }
@media (hover: hover) { .m-foot-mark:hover { transform: translateY(-2px) rotate(-5deg); } }
.m-foot-mark:active { transform: scale(0.93); }
.m-foot-year { font-size: 0.84375rem; color: rgb(246 243 234 / 0.7); }
.m-foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 15px; }
.m-foot-meta { display: contents; }
.m-end .m-foot-links a { position: relative; justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-size: 0.84375rem; color: rgb(246 243 234 / 0.78); text-decoration: none; transition: color 0.22s ease; }
.m-foot-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor; opacity: 0.55; transform: scaleX(0); transform-origin: left; transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1); }
.m-end .m-foot-links a[aria-current="page"] { color: #fffaf0; }
.m-foot-links a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) { .m-end .m-foot-links a:hover { color: #fffaf0; } .m-foot-links a:hover::after { transform: scaleX(1); } }
.m-end a:focus-visible { outline: 2px solid #fbfaf4; outline-offset: 2px; border-radius: 4px; }

@media (max-width: 47.99em) {
  .m-end { border-radius: 1.6rem 1.6rem 0 0; }
  .m-close { min-height: 50rem; }
  .m-close > img { object-position: 50% 50%; }
  .m-close::before { background: radial-gradient(ellipse 80% 24% at 50% 24%, rgb(250 247 238 / 0.66), rgb(250 247 238 / 0.3) 60%, rgb(250 247 238 / 0) 100%); }
  html[data-mode="night"] .m-close::before { background: radial-gradient(ellipse 95% 26% at 50% 21%, rgb(10 16 30 / 0.6), rgb(10 16 30 / 0.28) 60%, rgb(10 16 30 / 0) 100%); }
  .m-close::after { height: 52%; background: linear-gradient(to bottom, rgb(14 21 17 / 0), rgb(14 21 17 / 0.6) 22%, rgb(14 21 17 / 0.9) 42%, var(--foot-ground) 70%); }
  .m-cta { padding-top: 4.5rem; }
  .m-cta .line { font-size: 2.65rem; }
  .m-journal ul { grid-template-columns: minmax(0, 1fr); }
  .m-foot-bar { flex-direction: column; align-items: flex-start; gap: 6px; }
  .m-foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; width: 100%; }
  .m-foot-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; margin-top: 8px; }
  .m-foot-meta a[href^="mailto:"] { order: -1; }
}
