/* Layout: a printed book opened on the screen. One column of pages on handmade paper, the menu as running heads, one accent: the red seal. Deliberately one look (paper), so no dark theme. */
@font-face { font-family: "Talos"; src: url("/assets/talos.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Talos"; src: url("/assets/talos-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Pagella"; src: url("/assets/pagella.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Pagella"; src: url("/assets/pagella-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
:root {
--paper: #ece5d6;
--paper-deep: #e3dac7;
--ink: #241f1c;
--muted: #5f5449;
--seal: #a3352a;
--hair: rgba(36, 31, 28, 0.2);
--display: "Talos", "Book Antiqua", "Palatino Linotype", Palatino, Georgia, serif;
--body: "Pagella", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
--measure: 34rem;
--title-size: clamp(1.35rem, 2.6vw, 1.7rem);
color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
margin: 0;
background: var(--paper) url("https://static.wixstatic.com/media/1e9cd9_a317c19e6f5f4376b66b0496e0dab75b~mv2.jpg") repeat;
background-size: 900px 900px;
color: var(--ink);
font-family: var(--body);
font-size: 1.125rem;
line-height: 1.65;
font-feature-settings: "kern", "liga", "onum";
}
a { color: inherit; text-decoration-color: var(--hair); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--seal); }
a:focus-visible, .button:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--seal); outline-offset: 3px; }
p { margin: 0; }
/* Full-width bands. Each band keeps the same 62rem column inside, with a 16px gutter at least. */
:root { --col: 62rem; --band: rgba(36, 31, 28, 0.055); --bar: #1d1916; --on-bar: #ece5d6; --on-bar-muted: #b9ad9c; }
.inner, .view > *, .letter, footer {
padding-left: max(16px, env(safe-area-inset-left, 0px), calc((100% - var(--col)) / 2));
padding-right: max(16px, env(safe-area-inset-right, 0px), calc((100% - var(--col)) / 2));
}
/* black bar at the top: name left, menu on one line; a burger dropdown on narrow screens */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bar); }
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bar); color: var(--on-bar); box-shadow: 0 1px 0 rgba(0,0,0,.4); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.name { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 1.15rem; letter-spacing: 0.3em; text-decoration: none; white-space: nowrap; color: var(--on-bar); }
.name img { width: 26px; height: 26px; display: block; }
#menu { display: flex; flex-wrap: nowrap; gap: clamp(14px, 2.2vw, 30px); }
#menu a { font-family: var(--display); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: var(--on-bar-muted); white-space: nowrap; padding: 6px 0; border-bottom: 1.5px solid transparent; }
#menu a:hover { color: var(--on-bar); }
#menu a[aria-current="page"] { color: var(--on-bar); border-bottom-color: var(--seal); }
.burger { display: none; width: 44px; height: 44px; padding: 11px 9px; background: transparent; border: 0; cursor: pointer; flex-direction: column; justify-content: space-between; }
.burger span:not(.sr) { display: block; height: 2px; background: var(--on-bar); transition: transform .2s, opacity .2s; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 860px) {
.burger { display: flex; }
.bar-in { flex-wrap: wrap; }
#menu { display: none; flex-basis: 100%; flex-direction: column; gap: 0; padding-bottom: 10px; }
.bar.open #menu { display: flex; }
#menu a { padding: 14px 0; border-bottom: 1px solid rgba(236,229,214,.14); font-size: 0.8rem; }
#menu a[aria-current="page"] { border-bottom-color: rgba(236,229,214,.14); color: var(--seal-light, #e07b6c); }
.bar.open .burger span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.bar.open .burger span:nth-child(2) { opacity: 0; }
.bar.open .burger span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
}
@media (max-width: 380px) { .name { font-size: 1rem; letter-spacing: 0.22em; } }
.caps { font-family: var(--display); font-size: 0.76rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.rule { width: 2.2rem; height: 0; border: 0; border-top: 2px solid var(--seal); margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.2; text-wrap: balance; }
h1, h2 { font-size: var(--title-size); }
h3 { font-size: 1.25rem; }
.sub { font-family: var(--display); font-style: italic; font-size: 1.1rem; line-height: 1.3; }
.prose { display: grid; gap: 1em; max-width: var(--measure); min-width: 0; }
.muted { color: var(--muted); }
.view { display: block; scroll-margin-top: 80px; }
.view > * { padding-block: clamp(88px, 14vw, 168px); border-top: 1px solid var(--hair); }
.view > *:first-child { border-top: 0; }
.view > *:nth-child(even) { background: var(--band); }
.view[hidden] { display: none !important; }
.block { display: grid; gap: clamp(32px, 5vw, 56px); }
.view > .block, .view > .hero { display: grid; }
.head { display: grid; gap: 12px; }
.centre { justify-items: center; text-align: center; }
.centre .prose { justify-items: center; }
/* home */
.hero { display: grid; justify-items: center; text-align: center; gap: clamp(28px, 4vw, 40px); }
.enso { position: relative; width: min(16rem, 62vw); aspect-ratio: 780 / 757; max-width: 100%; }
.enso img { display: block; width: 100%; height: auto; }
.enso img.seal { position: absolute; width: 11%; right: -2%; bottom: 8%; }
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.hero p { max-width: 31rem; color: var(--muted); }
.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 4vw, 44px); }
.shelf a { display: grid; gap: 12px; align-content: start; text-decoration: none; min-width: 0; }
.shelf img, .book img { width: 100%; height: auto; display: block; box-shadow: 0 1px 2px rgba(36,31,28,.18), 0 12px 28px -12px rgba(36,31,28,.45); }
.shelf .t { font-family: var(--display); font-size: 1.05rem; line-height: 1.25; }
.shelf .s { font-size: 0.95rem; color: var(--muted); line-height: 1.45; }
.status { font-family: var(--display); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--seal); }
.question blockquote { margin: 0; max-width: 32rem; font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.4; text-wrap: balance; }
.question p { max-width: 28rem; color: var(--muted); }
/* books */
.book { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(24px, 5vw, 60px); align-items: start; }
.book figure { margin: 0; }
.formats { font-family: var(--display); letter-spacing: 0.16em; font-size: 0.78rem; text-transform: uppercase; color: var(--muted); font-variant-numeric: lining-nums; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 0.3em; }
.button {
display: inline-block; font-family: var(--display); font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase;
text-decoration: none; padding: 0.85em 1.3em; border: 1.5px solid var(--ink); color: var(--paper); background: var(--ink);
transition: background-color .2s, border-color .2s, color .2s; cursor: pointer;
}
.button:hover { background: var(--seal); border-color: var(--seal); color: var(--paper); }
.button.ghost { background: transparent; color: var(--ink); }
.button.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.button.wait { background: transparent; color: var(--muted); border-color: var(--hair); cursor: default; }
/* chapter: set like a book page */
.chapter { display: grid; gap: 28px; min-width: 0; justify-items: center; }
.chapter > * { max-width: var(--measure); width: 100%; }
.chapter .text p { text-indent: 1.4em; hyphens: auto; }
.chapter .text p:first-child { text-indent: 0; }
.chapter .text p:first-child::first-letter { font-family: var(--display); float: left; font-size: 3.4em; line-height: 0.85; padding: 0.06em 0.08em 0 0; color: var(--seal); }
.tryit { border-left: 2px solid var(--seal); padding-left: 18px; display: grid; gap: 8px; font-style: italic; }
.tryit .caps { font-style: normal; }
/* essays */
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: var(--measure); border-top: 1px solid var(--hair); }
.list li { border-bottom: 1px solid var(--hair); }
.list a { display: grid; gap: 2px; padding: 14px 0; text-decoration: none; }
.list .t { font-family: var(--display); font-size: 1.1rem; }
.list .s { color: var(--muted); font-style: italic; font-size: 1rem; }
.list a:hover .t { color: var(--seal); }
/* questions form */
form { display: grid; gap: 16px; max-width: var(--measure); }
label { display: grid; gap: 6px; font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
label .opt { text-transform: none; letter-spacing: 0; font-family: var(--body); font-style: italic; }
input[type="text"], input[type="email"], textarea {
font: inherit; font-family: var(--body); font-size: 1.05rem; letter-spacing: 0; text-transform: none; color: var(--ink);
background: rgba(255,255,255,0.35); border: 1.5px solid var(--hair); padding: 10px 12px; width: 100%; border-radius: 0;
}
textarea { min-height: 9rem; resize: vertical; }
.tick { display: flex; gap: 10px; align-items: flex-start; font-family: var(--body); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.tick input { margin-top: 0.35em; accent-color: var(--seal); }
.sent { border-left: 2px solid var(--seal); padding-left: 18px; }
.help { background: var(--paper-deep); padding: 20px clamp(16px, 3vw, 28px); display: grid; gap: 10px; max-width: var(--measure); }
/* newsletter */
.letter { display: grid; justify-items: center; text-align: center; gap: 22px; padding-block: clamp(80px, 12vw, 136px); background: rgba(36, 31, 28, 0.1); border-top: 2px solid var(--seal); }
.letter p { max-width: 30rem; color: var(--muted); }
footer { background: var(--bar); color: var(--on-bar-muted); padding-block: 64px calc(64px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: center; text-align: center; gap: 16px; font-size: 0.95rem; }
footer a { color: var(--on-bar); }
footer nav a:hover { color: #e07b6c; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
footer nav a { font-family: var(--display); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; }
footer .mail { user-select: all; }
.seal-end { width: 30px; height: auto; opacity: 0.9; }
@media (max-width: 640px) {
.shelf { grid-template-columns: 1fr; gap: 48px; max-width: 20rem; margin: 0 auto; }
.shelf a { grid-template-columns: 6.5rem minmax(0, 1fr); gap: 16px; align-items: start; }
.shelf a .info { display: grid; gap: 6px; align-content: start; }
.book { grid-template-columns: 1fr; }
.book figure { max-width: 12rem; }
}
@media (min-width: 641px) { .shelf a .info { display: grid; gap: 6px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }