/* The Fret & Staff site: three static pages, in the app's palette (android Palette.kt), light and dark. */
:root {
  --background: #e8d3a9;
  --ink: #2a1911;
  --secondary-ink: #6b5240;
  --brass: #8c6222;
  --rule: #f1e2c1;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #1e130d;
    --ink: #ede3cc;
    --secondary-ink: #b3a389;
    --brass: #c99d4b;
    --rule: #2c1d14;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0 auto;
  max-width: 42rem;
  padding: 2rem 1rem 3rem;
  background: var(--background);
  color: var(--ink);
  font: 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
h1, h2, h3 { font-family: "Bodoni 72", "Bodoni Moda", Didot, Georgia, serif; line-height: 1.2; }
h1 { font-size: 2.5rem; margin: 0.25rem 0; }
h2 { font-size: 1.5rem; margin: 2rem 0 0.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
h3 { font-size: 1.15rem; margin: 1.5rem 0 0.25rem; }
a { color: var(--brass); }
/* Back to Home, as the app's navigation bar names its back button after Home's title. */
.back {
  display: inline-flex; align-items: center; gap: 0.3rem; margin-left: -0.35rem; padding: 0.35rem 0.35rem;
  border-radius: 8px; color: var(--brass); font-size: 1.05rem; text-decoration: none;
}
.back:hover, .back:focus-visible { background: color-mix(in srgb, var(--brass) 14%, transparent); }
.chevron { font-size: 1.9rem; line-height: 1; margin-top: -0.2rem; }
.meta { margin: 0; color: var(--secondary-ink); }
.lead { font-size: 1.15rem; }
ul { padding-left: 1.25rem; }
li { margin: 0.4rem 0; }
.links { list-style: none; padding: 0; font-size: 1.15rem; }
/* Home: the app's Home screen, the rosette art fading into the page over the title and links. */
body.home { max-width: none; padding: 0; }
.hero { position: relative; height: clamp(240px, 40vh, 460px); background: linear-gradient(135deg, #e6cc97, #ddbf86, #c9a469); }
.hero canvas { display: block; width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 75%, var(--background));
}
.column { max-width: 42rem; margin: 0 auto; padding: 0 1.25rem 3rem; }
.title { text-align: center; margin-top: 0.5rem; }
.title h1 { font-size: 2.875rem; font-weight: 700; margin: 0; }
.tagline { margin: 0.25rem 0 0; font-family: "Bodoni 72", "Bodoni Moda", Didot, Georgia, serif; font-style: italic; font-size: 1.15rem; color: var(--secondary-ink); }
.fleuron { margin: 0.25rem 0 0; font-size: 1.6rem; color: var(--brass); }
.buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 2rem; }
.button {
  display: block; padding: 0.9rem 1rem; border: 1px solid var(--brass); border-radius: 14px;
  color: var(--brass); font-weight: 600; text-align: center; text-decoration: none;
}
.button.primary { background: var(--brass); color: var(--background); }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--rule); color: var(--secondary-ink); font-size: 0.9rem; }
