/* lornarobinson.uk: shared styles for every page.
   Everything is lifted from the Hamadryad and Oread covers (artwork by Lydia Hall):
   the printed black ground, the tree-ring oranges, the tunnel lilac, the cream-yellow of her name,
   the tall rough capitals of the titles (Bebas Neue, speckled like the print) and a classical reading face.
   Page builders: do not edit this file. Page-specific rules go in the page's own <style> or css/<page>.css. */

/* fonts, hosted on this site (no request goes to Google): Bebas Neue and Alegreya (roman and italic, variable
   weight), both SIL Open Font License, from Google Fonts; latin and latin-ext cuts only */
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/bebas-neue-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: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/bebas-neue-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: "Alegreya"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/alegreya-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: "Alegreya"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/alegreya-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: "Alegreya"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/alegreya-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; }
@font-face { font-family: "Alegreya"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/alegreya-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 {
  /* the print speckle (img/speckle.png), built in so masks also work when a page is opened straight from a folder */
  --speckle: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYAAAA+VemSAAAO5ElEQVR42u2dyXIkOQ5Ew2nx/7/sc+kZq6mWMmPhAoAPZmV9UUuZJJzYHIBs++gr+ue/vX8vkleEPoyRBniRCeKOurXDY7cMwIAXQSaCuAFepKp12sHKN3QCQf4FYgUINwSAibe4m+cepDLkDRqKHur15YyOUom34ZjSizJS5dIA2fTrSuZNylEzdUJXH5T24gV2YdfW//zDGseyTg7kgSiC7rdElkkL3HYscM2zUafvOwrIHpGFru5WEv8i0R5If3t42stfuOrFVMEM9CrXjDg+tify8fef3ONS11CcVbrvq0jnfSZWlApZcBJleR8fR9CTVvwClCSzahJnacC7KpT0bkws4Y4iB+2E6V9ZJQIRIEYAMIQMZJeEYuNiELjcS0hCXYQyErK7dVXm6gbthNdeXax4TVaTsuchAPA9EAPk3GHSTyU7L2YZAuDJ2WpA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ClHf+7yMbB33PBWGLij2wL1IbEYSQ9cnUppAHrru+6cQPOFeeGm1p4nBtbk5WfHYv424N1z1WspAGswNVC84AiJzv4A1gWXqkdLXwSyBmUxJHwO6Cw+5wnwIhE3MXglgGdax5VjVneZlY3F658n0SzdaoGpjMSe4890ZWeXjn5dOgoE3qkEEtkGKLh8XmQ1e32GyPPAh/KvG3qMNV7o8j4tPYn8BQDGAs9V+t4N7RlAPLz7CQAD3mPCJM+eLq6SgHhK6+KJLuM+D1Y0bbgPa1pmHAuMzJrV7QnTQ7VbfuE/K04VQGhPgt4AAAAASUVORK5CYII=");
  --ground: #100d0c;
  --ground-2: #1a1513;
  --rule: #2f2824;
  --ring: #e8702e;
  --ring-hi: #f2a43a;
  --ring-deep: #c6401f;
  --lilac: #b493c4;
  --lilac-pale: #d9c8e0;
  --tunnel: #2a2430;
  --name: #ede08f;
  --paper: #f4efe6;
  --soft: #b9aea4;
  --cap: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
  --read: "Alegreya", Georgia, serif;
  --gutter: clamp(1rem, 5vw, 4rem);
  --spine: 0px;
  --measure: 37rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--ground); color: var(--paper); font-family: var(--read); font-size: 1.15rem; line-height: 1.55; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--name); outline-offset: 3px; }
.cafe :focus-visible, .pale :focus-visible { outline-color: var(--ring-deep); }
main { display: block; }
h1, h2, h3, h4 { text-wrap: balance; }
p { margin: 0 0 1rem; max-width: var(--measure); text-wrap: pretty; }

/* the cover's capitals: tall, rough, flecked like a print */
.cap { font-family: var(--cap); font-weight: 400; letter-spacing: .02em; line-height: .92; -webkit-mask: var(--speckle) 0 0 / 240px 240px repeat; mask: var(--speckle) 0 0 / 240px 240px repeat; }

/* skip link */
.skip { position: absolute; left: var(--gutter); top: -4rem; z-index: 60; background: var(--name); color: var(--ground); padding: .5rem .9rem; font-family: var(--cap); font-size: 1.2rem; letter-spacing: .08em; text-decoration: none; }
.skip:focus { top: .6rem; }

/* ---------- nav: the cover's vertical title, as a spine on the right edge ---------- */
.spine { position: fixed; z-index: 40; top: 0; right: 0; height: 100%; width: 56px; background: var(--ground); border-left: 2px solid var(--ground-2); display: none; }
.spine ol { --rail-gap: 1.5rem; list-style: none; margin: 0; padding: 0; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: var(--rail-gap); align-items: center; }
.spine > ol > li { display: flex; flex-direction: column; align-items: center; } /* every item sized by its word alone, no line box below it */
.spine a { writing-mode: vertical-rl; text-decoration: none; font-family: var(--cap); font-size: 1.3rem; letter-spacing: .12em; color: var(--paper); opacity: .78; padding: .1rem 0; }
.spine a:hover, .spine a[aria-current], .spine a.on { opacity: 1; color: var(--name); }
.spine a[aria-current], .spine a.on { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.tab { position: fixed; z-index: 41; right: 0; top: 46%; width: 38px; padding: .9rem 0; border: 0; background: var(--paper); color: var(--ground); font-family: var(--cap); font-size: 1.15rem; letter-spacing: .14em; writing-mode: vertical-rl; cursor: pointer; border-radius: 0; clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%, 4% 50%); box-shadow: -1px 0 0 var(--rule); }
.tab:focus-visible { clip-path: none; outline: 3px solid var(--ground); outline-offset: -7px; box-shadow: 0 0 0 3px var(--name); }
.sheet { position: fixed; inset: 0; z-index: 50; background: var(--ground); color: var(--paper); display: none; padding: 4.2rem var(--gutter) 2rem; overflow: auto; }
.sheet.open { display: block; }
.sheet ol { list-style: none; margin: 0; padding: 0; }
.sheet a { display: block; text-decoration: none; font-family: var(--cap); font-size: 2.5rem; line-height: 1.15; padding: .3rem 0; border-bottom: 1px solid #2c2522; }
.sheet a span { color: var(--name); font-size: 1.1rem; font-family: var(--read); letter-spacing: 0; margin-left: .6rem; }
.sheet a[aria-current], .sheet a.on { color: var(--name); }
.sheet .x { position: absolute; top: 1rem; right: 1rem; background: none; border: 0; color: var(--paper); font-family: var(--cap); font-size: 1.6rem; letter-spacing: .1em; cursor: pointer; padding: .3rem .5rem; }
body.sheet-open { overflow: hidden; }
/* under 900px the Contents tab (38px, fixed at the right edge) sits over the gutter: every column keeps clear of it */
@media (max-width: 899px) { .sec .in, .foot .in { padding-right: 26px; } }
@media (min-width: 900px) {
  :root { --spine: 56px; }
  .spine { display: block; }
  .tab, .sheet { display: none; }
  body { padding-right: var(--spine); }
}
@media (min-width: 900px) and (max-height: 780px) { .spine ol { --rail-gap: 1rem; } .spine a { font-size: 1.15rem; } }

/* Books in the rail: the link goes to books/; the small shelf mark under it (a real button) runs the five titles out
   from the rail, each standing on its spine like the rail's own words, on the rail's ground: the rail simply grows
   wider to the left. No box, no shadow, no animation: it is there or it is not. Opens on hover (mouse), on the
   button (click, tap, Enter, Space); Escape, an outside click or tabbing past the last title closes it (js/site.js).
   Without JavaScript the button is hidden and the titles show on hover and while focus is inside (Tab from Books). */
/* the item takes the rail's full width and the list sits over the rail's own left border, so the mouse never
   crosses a gap between "Books" and the titles (the border is redrawn on the list's right edge, so nothing shifts) */
.spine .bks { display: flex; flex-direction: column; align-items: center; gap: 0; align-self: stretch; }
/* the rail is words only, in one even rhythm: hovering Books opens the list, and a click or tap goes to the Books page.
   The list's button sits in the gap under Books (it takes no room of its own) and only shows when the keyboard reaches it. */
.spine .more { display: grid; place-items: center; width: 44px; height: var(--rail-gap); margin-bottom: calc(-1 * var(--rail-gap)); padding: 0; border: 0; background: none; color: var(--paper); opacity: 0; cursor: pointer; }
.spine .more:focus-visible { opacity: 1; color: var(--name); }
.spine .more svg { width: 18px; height: 16px; }
.spine .fly { display: none; position: absolute; top: 0; right: calc(100% - 2px); height: 100%; width: auto; margin: 0; padding: 0 1rem 0 1.3rem; border-right: 2px solid var(--ground-2); gap: 1.1rem; flex-direction: row-reverse; align-items: center; justify-content: flex-start; background: var(--ground); border-left: 2px solid var(--ground-2); }
.spine .bks[data-open] .fly, html:not(.js) .spine .bks:hover .fly, html:not(.js) .spine .bks:focus-within .fly { display: flex; }
html:not(.js) .spine .more { display: none; }
.spine .fly li { writing-mode: vertical-rl; line-height: 1; }
.spine .fly a { font-size: 1.55rem; line-height: 1; opacity: 1; }
.spine .fly a:hover { color: var(--name); }
.spine .fly .all { margin-right: .2rem; padding-right: 1.1rem; border-right: 1px solid var(--rule); align-self: stretch; display: flex; justify-content: center; }
.spine .fly .all a { color: var(--lilac); }
/* with JavaScript the titles hang from the line of "Books" itself (js/site.js sets --bt to where it stands),
   like the books on a shelf, rather than each centred on its own; without it they stay centred on the rail */
.spine .bks[data-open] .fly { align-items: stretch; }
.spine .bks[data-open] .fly li { padding-top: var(--bt, 0px); }
.spine .bks[data-open] .fly .all { justify-content: flex-start; }
.spine .fly .all a:hover, .spine .fly .all a[aria-current] { color: var(--name); }
@media (min-width: 900px) and (max-height: 780px) { .spine .fly a { font-size: 1.3rem; } }
/* short screens (a 1024x600 netbook, a landscape tablet with browser bars): the rail and its Books mark still fit */
@media (min-width: 900px) and (max-height: 660px) { .spine ol { --rail-gap: .7rem; } .spine a { font-size: 1rem; } .spine .more svg { width: 12px; height: 11px; } .spine .fly a { font-size: 1.15rem; } }

/* the five under Books in the Contents sheet: on the same left edge as the rest, smaller */
.sheet .bks > a { border-bottom: 0; }
.sheet .sub { padding: 0 0 .5rem; border-bottom: 1px solid #2c2522; }
.sheet .sub a { font-size: 1.75rem; line-height: 1.1; padding: .25rem 0; border-bottom: 0; }

/* ---------- speckled print buttons and links ---------- */
.btns { display: flex; flex-wrap: wrap; gap: .7rem 1.1rem; align-items: center; }
.btn { display: inline-block; text-decoration: none; font-family: var(--cap); font-size: 1.45rem; letter-spacing: .1em; line-height: 1; padding: .62rem 1.05rem .5rem; background: var(--paper); color: var(--ground); border: 0; cursor: pointer; clip-path: polygon(0 3%, 6% 0, 100% 2%, 99% 96%, 94% 100%, 1% 98%); -webkit-mask: var(--speckle) 0 0 / 240px 240px repeat; mask: var(--speckle) 0 0 / 240px 240px repeat; }
.btn.lil { background: var(--lilac); }
.btn.org { background: var(--ring); }
.btn.dark { background: var(--ground); color: var(--paper); }
.btn:hover { background: var(--name); color: var(--ground); }
/* keyboard focus: the torn edge (clip-path) and the speckle (mask) would cut the focus ring away, so a focused
   button drops both and shows the ring in full */
.btn:focus-visible { clip-path: none; -webkit-mask: none; mask: none; }
.link { text-decoration: underline; text-decoration-color: var(--name); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.pale .link, .cafe .link { text-decoration-color: var(--ring-deep); }
@media (min-width: 900px) { .btn { font-size: 1.75rem; } }

/* ---------- sections and prose ---------- */
.sec { padding: clamp(3.5rem, 9vw, 7rem) var(--gutter); }
.in { max-width: 1120px; margin: 0 auto; }
.in.narrow { max-width: 760px; }
h2 { font-size: clamp(3rem, 12vw, 6.4rem); margin: 0 0 1.4rem; }
h3 { font-family: var(--cap); font-weight: 400; font-size: 2rem; letter-spacing: .04em; margin: 0 0 .3rem; line-height: 1; }
.two { display: grid; gap: 2.4rem; align-items: start; }
@media (min-width: 860px) { .two { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4.5rem; } .two.flip > :first-child { order: 2; } }
.cover { box-shadow: 0 14px 30px rgba(0, 0, 0, .5); width: min(330px, 78vw); }
.quote { font-style: italic; font-size: 1.25rem; border-left: 3px solid currentColor; padding-left: 1rem; margin: 1.6rem 0 0; max-width: 34rem; }
.quote p { margin: 0; }
.quote cite { display: block; font-style: normal; font-size: 1rem; margin-top: .5rem; opacity: .8; }
.formats { font-size: 1.05rem; color: var(--soft); margin-bottom: 1.4rem; }
.lead { font-size: 1.3rem; max-width: 40rem; }
.rules { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.rules li { padding: .55rem 0; border-top: 1px solid var(--rule); }
.rules li:last-child { border-bottom: 1px solid var(--rule); }
.rules b { font-weight: 500; color: var(--name); }
.pale .rules li, .cafe .rules li { border-color: #d9d0c2; }
.pale .rules b, .cafe .rules b { color: var(--ring-deep); }

/* grounds: the lilac of the tunnel, the orange of the rings, the paper of the café */
.below { background: var(--lilac); color: var(--tunnel); }
.below h2 { color: var(--ground); }
.below .formats { color: #3c3346; }
.below .btn { background: var(--ground); color: var(--lilac-pale); }
.below .btn:hover { background: var(--tunnel); color: var(--paper); }
.below .link { text-decoration-color: var(--ground); }
.below :focus-visible { outline-color: var(--ground); }
.above h2 { color: var(--ring); }
.dusk { background: var(--ground-2); }
.pale, .cafe { background: var(--paper); color: var(--ground); }
.cafe h2, .pale h2 { color: var(--ring-deep); }
.cafe .btn, .pale .btn { background: var(--ground); color: var(--paper); }
.cafe .btn:hover, .pale .btn:hover { background: var(--ring-deep); color: var(--paper); }
.pale .formats { color: #5e5750; }

/* events: used by the home block and the events page */
.dates { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 2rem; }
@media (min-width: 860px) { .dates { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.dates .day { font-family: var(--cap); font-size: clamp(3.4rem, 13vw, 5.6rem); line-height: .9; color: var(--name); display: block; }
.dates .what { font-family: var(--cap); font-size: 1.8rem; letter-spacing: .04em; display: block; margin: .4rem 0 .5rem; color: var(--lilac); }
.dates p { color: var(--paper); }
/* no one-word last line ("Classics and Creative / Writing Café"); a title with a table number breaks before it, greedy, as pretty would pull a word down to it */
.dates .what { text-wrap: pretty; }
.dates .what:has(.tbl) { text-wrap: wrap; }
.dates .tbl { color: var(--ring-hi); white-space: nowrap; }
.past .day { color: var(--soft); }
.past .what { color: var(--soft); }
[data-past-wrap][hidden], [data-when-empty][hidden] { display: none; }

/* book to book: the same two links at the foot of every book page, in the ring
   Oread > Hamadryad > The Birder > Flower Gatherers > Telling Tales in Nature > Oread */
.nextprev { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; font-family: var(--cap); font-size: 1.5rem; letter-spacing: .06em; }
.nextprev a { text-decoration: none; }
.nextprev a[rel="next"] { margin-left: auto; text-align: right; }
.nextprev a:hover { color: var(--name); }
.pale .nextprev a:hover { color: var(--ring-deep); }

/* ---------- footer ---------- */
.foot { background: var(--ground); color: var(--soft); padding: 2.2rem var(--gutter) 2.6rem; font-size: 1rem; border-top: 1px solid var(--rule); }
.foot .in { display: grid; gap: .5rem; }
.foot p { margin: 0; max-width: none; }
.foot a { text-decoration-color: var(--rule); text-underline-offset: 4px; }
.foot a:hover { color: var(--paper); }
.foot p a + a { margin-left: 1rem; }
.foot p a + .motion { margin-left: 1rem; }
/* the scroll effects switch (js/site.js): looks like the footer's links; hidden without JavaScript */
.foot .motion { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; }
.foot .motion:hover { color: var(--paper); }
.foot .motion[hidden] { display: none; }

@media (min-width: 860px) { .foot .in { grid-template-columns: 1fr auto; align-items: end; } }

/* ---------- motion contract ----------
   Scroll-linked pieces get class "fx". With JavaScript and full motion, js/site.js sets their transforms
   and opacity from the scroll position. Without JavaScript, or under reduced motion (html.still),
   every piece sits in its finished state: nothing is hidden, nothing moves. */
.fx { will-change: transform, opacity; }
html.still .fx, html:not(.js) .fx { transform: none !important; opacity: 1 !important; will-change: auto; }

/* the register (js/site.js): a heading's second impression, same speckle, offset up and left, which comes into
   register (--reg 0 to 1) as the heading rises. The "/ """ keeps it out of the accessibility tree; a browser that
   does not know that syntax draws no ghost at all. Nothing under reduced motion or without JavaScript.
   The second impression prints under the letters (z-index -1 inside the heading's own stacking context), so only the
   offset sliver shows, a crisp edge of ink up and left like a misregistered plate. --reg-dx / --reg-dy set the offset.
   A heading that is already positioned (sticky, say) carries class "hold" and keeps its own position; the page that
   holds it gives it position: relative where it does not stick, so the ghost always anchors to the heading. */
html.js:not(.still) .reg { isolation: isolate; }
html.js:not(.still) .reg:not(.hold) { position: relative; }
html.js:not(.still) .reg::after { content: attr(data-print) / ""; position: absolute; inset: 0; z-index: -1; color: var(--reg-ink, currentColor); opacity: calc(.7 * (1 - var(--reg, 1))); transform: translate(calc(var(--reg-dx, -.055em) * (1 - var(--reg, 1))), calc(var(--reg-dy, -.045em) * (1 - var(--reg, 1)))); pointer-events: none; will-change: transform, opacity; }

/* shelved items (site.shelve): held --lift above the shelf at --set 0, standing on it at 1 */
.set { --lift: -1.2rem; }
html.js:not(.still) .set { transform: translateY(calc((1 - var(--set, 1)) * var(--lift))); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
