/* Atkinson Hyperlegible Next (Braille Institute), self-hosted so it looks the
   same on every device and no visitor data goes to a third party.
   SIL Open Font License 1.1: see /assets/fonts/OFL.txt */
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:normal;font-weight:200 800;font-display:swap;src:url(/assets/fonts/atkinson-hyperlegible-next-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}
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:normal;font-weight:200 800;font-display:swap;src:url(/assets/fonts/atkinson-hyperlegible-next-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:italic;font-weight:200 800;font-display:swap;src:url(/assets/fonts/atkinson-hyperlegible-next-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}
@font-face{font-family:'Atkinson Hyperlegible Next';font-style:italic;font-weight:200 800;font-display:swap;src:url(/assets/fonts/atkinson-hyperlegible-next-italic-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
:root{
  --paper:#f4efe5;--paper2:#eee6d8;--ink:#2d2b26;--muted:#625c53;--soft:#514c44;--placeholder:#69635a;--control-line:#8f846f;--line:#d7cdbd;
  --green:#4f6249;--blue:#23476f;--orange:#c76545;--gold:#d39a3b;--purple:#80629a;
  --ui:"Atkinson Hyperlegible Next",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --reading:var(--ui);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);font-family:var(--ui);font-size:100%;line-height:1.58;background:radial-gradient(circle at 18% 12%,rgba(255,255,255,.48),transparent 27%),repeating-linear-gradient(0deg,rgba(70,55,35,.018) 0,rgba(70,55,35,.018) 1px,transparent 1px,transparent 5px),var(--paper)}
a{color:inherit}
/* Site header and footer: see shared/site-chrome.css */
main{max-width:816px;margin:auto;padding:0 28px}  /* one 760px column on every page, lined up with the header */

/* Home */
.hero{min-height:58vh;display:flex;flex-direction:column;justify-content:center;max-width:700px;position:relative;padding:74px 0 88px}
.eyebrow{font-family:var(--reading);font-style:italic;color:var(--green);font-size:1rem;margin:0 0 14px}
.hero h1,.page h1{font-family:var(--reading);font-weight:400;color:var(--ink);letter-spacing:-.018em}
.hero h1{font-size:clamp(2.45rem,5.2vw,3.65rem);line-height:1.06;margin:0;max-width:650px}
.intro{font-family:var(--reading);font-size:clamp(1.08rem,2vw,1.28rem);line-height:1.58;max-width:620px;color:var(--soft);margin:28px 0 0}
.invitation{margin-top:31px;color:var(--muted);font-size:.92rem}

/* Quiet search */
.search{margin-top:54px;max-width:560px}
.search label{display:block;font-family:var(--ui);font-size:.78rem;font-weight:600;letter-spacing:.025em;color:var(--muted);margin-bottom:7px}
.search-line{display:flex;gap:8px;border-bottom:1px solid var(--line);padding-bottom:6px}
.search input{flex:1;min-width:0;border:0;background:transparent;padding:8px 2px;font-family:var(--reading);font-size:1.02rem;color:var(--ink);outline:none}
.search input::placeholder{color:var(--placeholder);opacity:1}
.search button{border:0;background:transparent;color:var(--green);font:500 .88rem var(--ui);padding:8px 2px;cursor:pointer}
.search-results{margin-top:24px;max-width:620px}
.search-group{margin-top:22px}
.search-group h2{font:500 1rem/1.3 var(--ui);margin:0 0 8px}
.search-result{display:grid;grid-template-columns:145px 1fr;gap:18px;padding:9px 0;text-decoration:none;border-top:1px solid rgba(215,205,189,.68)}
.search-result time{font-size:.76rem;color:var(--muted)}
.search-result span{font-family:var(--reading);font-size:1.02rem}
.muted{color:var(--muted)}

.paths{border-top:1px solid var(--line)}
.path{position:relative;display:grid;grid-template-columns:150px 1fr;align-items:center;gap:24px;padding:31px 8px;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--line);overflow:hidden}
.path h2{font:500 1.22rem/1.3 var(--ui);margin:0}
.path p{margin:0;max-width:620px;color:var(--soft);font-size:.95rem}
.wash{position:absolute;z-index:-1;left:13px;width:70px;height:92px;opacity:.10;filter:blur(1.5px);border-radius:50% 42% 48% 45%;transform:rotate(-2deg)}
.wash-orange{background:radial-gradient(ellipse,var(--orange),transparent 70%)}.wash-gold{background:radial-gradient(ellipse,var(--gold),transparent 70%)}.wash-blue{background:radial-gradient(ellipse,var(--blue),transparent 70%)}.wash-purple{background:radial-gradient(ellipse,var(--purple),transparent 70%)}.wash-green{background:radial-gradient(ellipse,var(--green),transparent 70%)}
.path:hover .wash{opacity:.19}
.bench{max-width:650px;margin:110px auto;padding:0 0 125px;text-align:center;font-family:var(--reading);color:var(--soft)}
.bench blockquote{font-size:clamp(1.25rem,2.5vw,1.7rem);font-style:italic;line-height:1.42;margin:30px 0}

/* Interior pages */
.page{max-width:760px;margin:64px auto 125px}
.page h1{font-size:clamp(2rem,4.5vw,2.85rem);line-height:1.08;margin:0 0 24px}
.page .lede{font:1.14rem/1.65 var(--reading);color:var(--soft)}
.page>p:not(.eyebrow):not(.post-date):not(.rss-link):not(.back-link){max-width:680px}
.placeholder{margin-top:44px;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--muted)}
.index-page{max-width:760px}
.quiet-list{margin-top:48px;border-top:1px solid var(--line)}
.quiet-item{display:grid;grid-template-columns:165px 1fr;gap:22px;align-items:baseline;padding:20px 2px;border-bottom:1px solid var(--line);text-decoration:none}
.quiet-item time{font-size:.78rem;color:var(--muted)}
.quiet-item span{font:400 1.22rem/1.35 var(--reading)}
.quiet-item:hover span,.quiet-item:focus span{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:var(--line)}
.rss-link{margin-top:32px;font-size:.82rem;color:var(--muted)}
.rss-link a,.back-link a{color:inherit;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:var(--line)}
.about-page p a{color:inherit;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:var(--line)}
.about-page p a:hover,.about-page p a:focus-visible{text-decoration-color:var(--green)}

/* Articles and songs */
.article{max-width:760px}
.article h1{max-width:700px;margin-bottom:14px}
.post-date{font-size:.8rem;letter-spacing:.02em;color:var(--muted);margin:0 0 38px}
.article-body,.about-page>p{font:1.08rem/1.82 var(--reading)}
.article-body p{margin:1.32em 0}
.article-body h2{font:400 1.5rem/1.25 var(--reading);margin:2.1em 0 .7em}
.article-body h3{font:500 1rem/1.35 var(--ui);margin:2em 0 .5em}
.article-body blockquote{margin:1.9em 0;padding-left:22px;border-left:1px solid var(--green);font-style:italic;color:var(--soft)}
.article-body img{max-width:100%;height:auto}
.article-image{margin:36px 0 42px;max-width:640px}
.article-image img{display:block;width:100%;height:auto;filter:saturate(.86) contrast(.97);border-radius:2px}
.song-resource{margin:48px 0 30px;padding-top:28px;border-top:1px solid var(--line)}
.media-embed{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:rgba(45,43,38,.05)}
.media-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.media-fallback a,.resource-link{color:var(--green);text-decoration-thickness:1px;text-underline-offset:4px}
.resources{margin-top:22px;padding-top:6px}
.resources p{margin:.55rem 0}
.back-link{margin-top:62px;padding-top:22px;border-top:1px solid var(--line);font:400 .86rem var(--ui)}

/* About updates */
.updates{margin-top:72px;padding-top:28px;border-top:1px solid var(--line)}
.updates h2{font:500 1.12rem/1.3 var(--ui);margin:0 0 20px}
.update{display:grid;grid-template-columns:155px 1fr;gap:20px;padding:13px 0;border-top:1px solid rgba(215,205,189,.58)}
.update:first-of-type{border-top:0}
.update time{font-size:.76rem;color:var(--muted)}
.update p{margin:0;font:1rem/1.5 var(--reading)}

.support-options{margin-top:50px;border-top:1px solid var(--line)}
.support-options h2{font:500 1.08rem/1.3 var(--ui);margin:28px 0 8px}
.support-options p{max-width:650px;color:var(--soft)}

@media(max-width:720px){
  main{padding:0 20px}
  .hero{min-height:auto;padding:82px 0 76px}
  .hero h1{font-size:2.65rem;line-height:1.05;max-width:560px}
  .intro{font-size:1.1rem;margin-top:26px}
  .invitation{margin-top:30px}
  .search{margin-top:46px}
  .path{grid-template-columns:88px 1fr;padding:25px 4px;gap:14px 16px}
  .path h2{font-size:1.08rem}.path p{font-size:.89rem}
  .wash{left:auto;right:6px;top:4px;width:64px;height:80px}
  .bench{margin-top:82px;padding-bottom:90px}
  .page{margin-top:58px;margin-bottom:100px}
  .page h1{font-size:2.25rem}
  .quiet-list{margin-top:38px}
  .quiet-item,.search-result,.update{grid-template-columns:1fr;gap:3px}
  .quiet-item{padding:18px 0}.quiet-item span{font-size:1.17rem}
  .article-image{margin:31px 0 35px}
}

/* v0.4: compact orientation and richer archives */
.hero{min-height:0;max-width:760px;padding:28px 0 24px}
.hero h1{font-size:clamp(1.7rem,3vw,2.15rem);line-height:1.2;max-width:760px}
.hero .eyebrow{margin-bottom:10px}
.intro{font-size:1.1rem;margin-top:16px}
.invitation{margin:14px 0 0}
.search{margin-top:22px}
.search-results:empty{display:none}
.path{padding:16px 8px;grid-template-columns:136px 1fr}  /* wide enough for "Weekly Rhythm" on one line */
.path h2{font-size:1.08rem}
.page{margin-top:38px}
.archive-sort{margin-top:26px;color:var(--muted);font-size:.85rem}
.archive-sort label{margin-right:10px}
.archive-sort select{font:inherit;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:3px;padding:8px}
.archive-list{margin-top:20px}
.archive-item{padding:22px 0;border-bottom:1px solid var(--line)}
.archive-item h2{font:400 1.25rem/1.35 var(--reading);margin:0}
.archive-item h2 a{text-decoration:none}
.archive-item h2 a:hover{text-decoration:underline;text-underline-offset:4px}
.archive-intro{font:1.03rem/1.55 var(--reading);color:var(--soft);margin:8px 0}
.archive-meta,.archive-terms{font-size:.8rem;color:var(--muted);margin:7px 0 0}
.support-button,.hero .search button{display:inline-block;font:500 .9rem/1.2 var(--ui);padding:11px 16px;border:1px solid rgba(89,108,82,.24);border-radius:12px;background:rgba(89,108,82,.1);color:#465044;text-decoration:none}
.support-button:hover,.hero .search button:hover{background:rgba(89,108,82,.16)}
.support-options .support-note{font-size:.8rem;color:var(--muted);max-width:600px}
:focus-visible{outline:2px solid var(--green);outline-offset:4px}
.search input:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:720px){
 .hero{padding:24px 0}
 .hero h1{font-size:1.85rem;line-height:1.2}
 .intro{font-size:1.04rem;margin-top:15px}
 .invitation{margin-top:14px}
 .search{margin-top:22px}
 .path{grid-template-columns:1fr;padding:15px 4px;gap:2px}  /* phones: title above its line, like the section headings */
 .path p{padding-left:18px}
 .page{margin-top:30px}
 .archive-item{padding:20px 0}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.home-welcome{font:normal 400 1.125rem/1.58 var(--reading);color:var(--soft);margin:0;max-width:760px}

.bench{margin:44px auto 64px;padding:0;text-align:center}
.bench-sketch{display:block;width:260px;max-width:75%;height:auto;margin:0 auto 20px;opacity:.8}

.bench .home-welcome{margin:0 auto 24px}


/* Footpath continues beyond the page column. */
body{overflow-x:clip}
.bench-journey{max-width:none;margin-bottom:40px}
.bench-journey .home-welcome{max-width:700px;margin:0 auto 8px}
.journey-scene{width:100vw;position:relative;left:50%;transform:translateX(-50%)}
.journey-scene img{display:block;width:100%;height:clamp(190px,30vw,340px);object-fit:cover;object-position:center;opacity:.8;mix-blend-mode:multiply;mask-image:linear-gradient(to bottom,transparent,#000 15%,#000 85%,transparent)}

/* Compact welcome illustration before search. */
.bench-journey{margin:22px auto 0}
.bench-journey .home-welcome{margin:8px auto 24px}
.bench-journey .journey-scene img{height:clamp(165px,18vw,215px)}
.bench-journey + .hero{padding:0 0 20px}
.bench-journey + .hero .search{margin-top:0}
.bench-journey .journey-scene img{height:clamp(190px,20vw,270px);object-position:center 40%;mask-image:linear-gradient(to bottom,transparent,#000 6%,#000 85%,transparent)}

/* App-aligned typography: UI/brand uses --ui; reflective reading uses --reading.
   Keep shared navigation rules after responsive rules to prevent size drift. */
:root{--navigation-size:1rem;--secondary-size:.9rem}
.path h2,.path p,.search input,.search button{font-family:var(--ui);font-size:var(--navigation-size);font-style:normal}
.path h2,.search button{font-weight:500}
.search label,.archive-sort,.rss-link,.back-link{font-family:var(--ui);font-size:var(--secondary-size);font-style:normal}
/* Frame search with matching quiet divider lines. */
.bench-journey + .hero{border-top:1px solid var(--line);padding-top:20px}
.bench-journey + .hero{max-width:none}

/* One quiet search row, aligned with the navigation below. */
.bench-journey + .hero{padding:0}
.hero .search{max-width:none;width:100%;margin:0}
.hero .search-line{border:0;padding:12px 8px;align-items:center;gap:20px}
.hero .search label.visually-hidden{margin:-1px;padding:0}
.hero .search input{padding:4px 0}
.hero .search button{padding:11px 16px;flex-shrink:0}
@media(max-width:720px){.hero .search-line{padding:12px 4px}}


/* Site title in the reading font, matching the welcome line. */

/* Close the gap between the title and the bench on the homepage.
   The top of the drawing is empty paper, so it can tuck under the header. */
.bench-journey{margin-top:-16px}
.journey-scene{pointer-events:none}
@media(max-width:720px){.bench-journey{margin-top:-36px}}

/* Read and Ponder: one quiet title, echoing the homepage.
   A single heading with the homepage's own description beneath it,
   then the sort control framed by the same divider lines as the search row. */
.index-page .archive-sort{margin-top:28px;padding:12px 0;border-top:1px solid var(--line)}
.index-page .archive-list{margin-top:0}

/* Accessibility: contrast and minimum sizes (WCAG 2.2).
   Body and reflective text (--soft) meets AAA 7:1 on the paper colour;
   dates, tags and footer (--muted) and the search placeholder meet AA 4.5:1
   on both paper tones; the sort menu border meets the 3:1 control minimum.
   Dividers stay pale because they are decoration, not information.
   No secondary text is smaller than 14px. */
.search-result time,.quiet-item time,.update time,.post-date,.archive-meta,.archive-terms,
.support-options .support-note,.rss-link,.back-link{font-size:.875rem}
.archive-sort select{border-color:var(--control-line)}

/* Post pages: one quiet title, in keeping with Read and Ponder.
   "Back to Read" at the foot of the page still says where the piece lives. */
.article h1{font:400 1.75rem/1.25 var(--reading);letter-spacing:0;margin:0 0 10px}
.article .lede{margin:0 0 10px}
.article .post-date{margin-bottom:34px}

/* Sort menu as quiet text rather than a box: the chosen option reads like a
   gentle link, with a small chevron and a soft underline that turns green on
   hover or focus. The chevron and underline still show it can be changed. */
.archive-sort select{appearance:none;-webkit-appearance:none;border:0;border-radius:0;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23625c53' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 2px center;padding:4px 22px 3px 0;color:var(--ink);cursor:pointer;text-decoration:underline;text-decoration-color:var(--line);text-decoration-thickness:1px;text-underline-offset:5px}
.archive-sort select:hover,.archive-sort select:focus-visible{text-decoration-color:var(--green)}
.archive-sort select:focus-visible{outline:2px solid var(--green);outline-offset:4px;border-radius:2px}


/* Brush strokes beside section titles: see shared/site-chrome.css */
.path:hover .stroke::before{opacity:1}

/* Read and Ponder: title and tagline on one row, like the homepage */
.index-page{margin-top:36px}
.index-page .archive-sort{margin-top:22px}
.archive-item h2{font-size:1.125rem}
@media(max-width:720px){
  .index-page{margin-top:22px}
  .index-page .archive-sort{margin-top:18px}
}
