/* alexkiss — Paper */

/* EB Garamond, self-hosted (SIL Open Font License, see fonts/OFL.txt) */
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/eb-garamond-latin-400-normal.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: "EB Garamond"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/eb-garamond-latin-ext-400-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/eb-garamond-latin-400-italic.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: "EB Garamond"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/eb-garamond-latin-ext-400-italic.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/eb-garamond-latin-500-normal.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: "EB Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/eb-garamond-latin-ext-500-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url(fonts/eb-garamond-latin-500-italic.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: "EB Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url(fonts/eb-garamond-latin-ext-500-italic.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --paper: #f6f1e7;
  --ink: #2a2520;
  --quiet: #6e6153;
  --rule: #d9cfbf;
  --link: #6b4a2b;
  --link-hover: #3d2a17;
}

html { background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 21px;
  line-height: 1.62;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:hover { color: var(--link-hover); }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 2px; }

.page {
  max-width: 600px;
  margin: 0 auto;
  padding: 72px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}
main { display: flex; flex-direction: column; gap: 80px; }

/* header */
.site-header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.site-name { font-size: 22px; letter-spacing: 0.02em; text-decoration: none; color: var(--ink); }
.site-name:hover { color: var(--link-hover); }
.feed-link, .all-link { font-size: 17px; font-style: italic; }

/* small capitals-style labels: dates, section headings */
.entry-date, .label {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--quiet);
}

/* the day's page */
.entry { display: flex; flex-direction: column; gap: 18px; }
.entry-title {
  margin: 0;
  font-weight: 500;
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.entry-title a { color: inherit; text-decoration: none; }
.entry-title a:hover { color: var(--link-hover); }

.entry-body { margin-top: 18px; hyphens: auto; }
.entry-body > :first-child { margin-top: 0; }
.entry-body > :last-child { margin-bottom: 0; }
.entry-body p { margin: 0 0 1em; }
.entry-body h2, .entry-body h3 { font-weight: 500; font-size: 26px; line-height: 1.25; margin: 1.6em 0 0.6em; }
.entry-body blockquote { margin: 1.2em 0; padding: 0 0 0 1.4em; font-style: italic; }
.entry-body blockquote p { margin-bottom: 0.6em; }
.entry-body strong { font-weight: 500; }
.entry-body ul, .entry-body ol { margin: 0 0 1em; padding-left: 1.4em; }
.entry-body img { display: block; max-width: 100%; height: auto; margin: 1.4em auto; }
.entry-body hr { border: 0; margin: 1.4em 0; text-align: center; height: auto; }
.entry-body hr::after { content: "⁂"; color: var(--quiet); }

.asterism { margin: 12px 0 0; text-align: center; font-size: 22px; color: var(--quiet); }

/* lists of pages */
.earlier { display: flex; flex-direction: column; gap: 14px; }
.earlier .label { margin-bottom: 6px; }
.entry-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.entry-list a { display: flex; gap: 24px; align-items: baseline; text-decoration: none; color: var(--ink); font-size: 19px; line-height: 1.35; }
.entry-list a:hover .list-title { color: var(--link-hover); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.list-date { width: 120px; flex-shrink: 0; color: var(--quiet); font-size: 16px; }

/* all pages */
.archive { display: flex; flex-direction: column; gap: 48px; }
.archive-head { display: flex; flex-direction: column; gap: 14px; }
.archive-head p { margin: 0; }
.month { display: flex; flex-direction: column; gap: 10px; }
.month .label { border-bottom: 1px solid var(--rule); padding-bottom: 8px; margin-bottom: 8px; }
.archive-list { gap: 10px; }
.archive-list a { gap: 20px; line-height: 1.4; }
.list-day { width: 32px; flex-shrink: 0; text-align: right; color: var(--quiet); font-size: 16px; }

.note { margin: 0; font-style: italic; color: var(--quiet); font-size: 17px; }

/* footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 17px;
  font-style: italic;
  color: var(--quiet);
}
.site-footer > a { align-self: flex-start; }
.copyright { margin: 16px 0 0; font-style: normal; font-size: 15px; }

/* phones */
@media (max-width: 560px) {
  body { font-size: 19px; }
  .page { padding: 40px 20px 48px; gap: 56px; }
  main { gap: 56px; }
  .entry-title { font-size: 32px; }
  .entry-list a { gap: 16px; font-size: 18px; }
  .list-date { width: 96px; font-size: 15px; }
}

/* print */
@media print {
  html { background: #fff; }
  .feed-link, .earlier, .site-footer .note, .site-footer > a { display: none; }
  .page { padding: 0; gap: 32px; }
}

.copyright:first-child { margin-top: 0; }