@font-face {
  font-family: 'Bricolage Grotesque';
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/bricolagegrotesque/v9/3y996as8bTXq_nANBjzKo3IeZx8z6up5L-iNGQ.woff2) format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-weight: 400 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ebgaramond/v33/SlGUmQSNjdsmc35JDF1K5GR1SDk.woff2) format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ebgaramond/v33/SlGWmQSNjdsmc35JDF1K5GRweDs1Zw.woff2) format('woff2');
}

:root {
  color-scheme: light;
  --ink: #1d1c1a;
  --sun: #e2552c;
  --sun-deep: #bf4119;
  --paper: #fffdf8;
  --cream: #f3e4c4;
  --lemon: #f6ec9e;
  --heading: 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
  --body: 'EB Garamond', Garamond, Georgia, serif;   /* the theme's, since 2026-10-15 (was Newsreader) */
}

/* transparent, so the ludd.life page behind the iframe shows through; the scrollbar is hidden too */
html, body {
  background: transparent;
  scrollbar-width: none;
}

html::-webkit-scrollbar { display: none; }

body {
  margin: 0;
  font: 1.45rem/1.58 var(--body);
  color: var(--ink);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--lemon); color: var(--ink); }

.container { padding: 0 8px 48px; }

h1, h3 {
  font-family: var(--heading);
  font-variation-settings: 'wdth' 75;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}

/* the service's title (Guestbook for http://ludd.life) is swapped for a plain hello, the last word in the sun */
h1 {
  font-size: 0;
  line-height: 0;
  margin: 0 0 34px;
}

h1::before, h1::after {
  display: inline;
  font-size: 4.2rem;
  line-height: .9;
  letter-spacing: -.025em;
}

h1::before { content: 'Say '; }
h1::after { content: 'hi.'; color: var(--sun); }

h3 {
  font-size: 1.9rem;
  line-height: .95;
  margin: 0 0 .7em;
}

a, a:visited {
  color: var(--ink);
  text-decoration: underline 2.5px var(--sun);
  text-underline-offset: 4px;
}

a:hover { background: var(--lemon); }

/* a break: a short pen line */
hr {
  border: 0;
  width: 120px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
  margin: 2.6em 0 2.2em !important;
}

/* the form: fields drawn in ink, like the theme's cards */
form br { display: none; }

.guestbooks___input-container { margin: 0 0 22px; }

label {
  display: block;
  margin-bottom: 8px;
  font: 600 .74rem/1 var(--heading);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sun-deep);
}

input[type="text"], input[type="url"], textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 11px 16px;
  font: 1.24rem/1.45 var(--body);
  color: var(--ink);
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color .25s;
}

textarea { min-height: 150px; }

input:focus, textarea:focus { background: #fffbe6; box-shadow: 4px 5px 0 rgba(29, 28, 26, .12); }

/* the labels name the fields; only the message keeps its hint */
#name::placeholder, #website::placeholder { color: transparent; }

::placeholder {
  color: var(--ink);
  opacity: .4;
  font-style: italic;
}

/* the reels' address bar: a white pill drawn in ink */
input[type="submit"], button {
  margin: 6px 0 0;
  padding: 12px 22px 11px;
  font: 600 .78rem/1 var(--heading);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color .3s, transform .3s;
}

input[type="submit"]:hover, button:hover { background: var(--lemon); transform: rotate(-1deg); }

input[type="submit"]:disabled, button:disabled {
  opacity: .45;
  cursor: default;
  background: var(--paper);
  transform: none;
}

#guestbooks___error-message, #guestbooks___success-message {
  margin-top: 14px;
  font-size: 1.12rem;
  font-style: italic;
}

#guestbooks___error-message, .guestbooks___pow-label-text--error { color: var(--sun-deep); }
#guestbooks___success-message { color: var(--ink); }

.guestbooks___pow-container { margin: 4px 0 18px; }

.guestbooks___pow-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ink);
  cursor: pointer;
}

.guestbooks___pow-checkbox-label input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--sun);
}

#guestbooks___guestbook-made-with { margin-top: 18px; }

#guestbooks___guestbook-made-with small {
  font: 600 .68rem var(--heading);
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .55;
}

#guestbooks___guestbook-made-with a { text-decoration: none; }

/* messages: notes pinned up, each a white card drawn in ink, every other one leaning the other way */
#guestbooks___guestbook-messages-container { padding: 6px 0 0; }

.guestbook-message {
  margin: 0 0 22px;
  padding: 18px 22px 16px;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 5px 0 rgba(29, 28, 26, .1);
  position: relative;
  z-index: 1;
  transform: rotate(-.5deg);
  transition: transform .5s cubic-bezier(.3, .7, .3, 1);
}

.guestbook-message:nth-of-type(even) { transform: rotate(.6deg); }
.guestbook-message:hover { transform: rotate(0) translateY(-2px); }

.guestbook-message p {
  margin: 0 0 8px;
  line-height: 1.2;
}

.guestbook-message b {
  font: 800 1.35rem var(--heading);
  font-variation-settings: 'wdth' 75;
  letter-spacing: -.01em;
}

.guestbook-message small {
  font: 600 .7rem var(--heading);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sun-deep);
}

.guestbook-message blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font: 1.24rem/1.55 var(--body);
  color: var(--ink);
  white-space: pre-wrap;
}

/* a reply from ludd.life: a cream note tucked right under the message: its own top is hidden behind the card above it (margin pulls it up past the card's 22px gap, the card sits on top) */
.guestbook-message.guestbook-message-reply {
  position: relative;
  z-index: 0;
  margin: -30px 0 26px 32px;
  padding: 26px 20px 12px;
  background: var(--cream);
  border: 2.5px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  box-shadow: 3px 4px 0 rgba(29, 28, 26, .08);
  transform: rotate(.4deg);
}

.guestbook-message.guestbook-message-reply:hover { transform: rotate(.4deg); }

.guestbook-message-reply blockquote {
  font-size: 1.12rem;
  font-style: italic;
}

#guestbooks___message-loading {
  margin-top: 22px;
  text-align: center;
}

#guestbooks___message-load-status {
  margin: 0 0 12px;
  font-size: 1.07rem;
  font-style: italic;
  opacity: .6;
}

#guestbooks___message-load-status:empty, #guestbooks___load-more[hidden] { display: none; }

/* load more is a quiet text link */
#guestbooks___load-more {
  margin: 0;
  padding: 6px 2px;
  color: var(--ink);
  background: none;
  border: 0;
  border-radius: 0;
  text-decoration: underline 2.5px var(--sun);
  text-underline-offset: 5px;
}

#guestbooks___load-more:hover {
  background: var(--lemon);
  transform: none;
}

@media (max-width: 640px) {
  body { font-size: 1.3rem; }
  h1 { margin-bottom: 26px; }
  h1::before, h1::after { font-size: 3rem; }
  h3 { font-size: 1.6rem; }
  .guestbook-message { padding: 14px 16px 12px; }
  .guestbook-message-reply { margin-left: 16px; padding: 14px 14px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}