/* Canette Books — small press */
:root {
  --paper: #f6efe4;
  --paper-2: #efe4d4;
  --ink: #2a1c14;
  --muted: #6b5344;
  --leaf: #3d5a45;
  --leaf-dark: #2a3f32;
  --clay: #b55238;
  --clay-dark: #8e3d28;
  --gold: #c4a574;
  --white: #fffdf8;
  --shadow: 0 18px 50px rgba(42, 28, 20, 0.18);
  --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.125rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf-dark); }
a:hover { color: var(--clay); }
.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--white); padding: .5rem 1rem;
}
.skip:focus { left: 1rem; top: 1rem; z-index: 20; }

header.site {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 92%, white);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 50%, transparent);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem 0;
}
.logo { display: flex; align-items: center; text-decoration: none; color: inherit; }
.logo img.badge { height: 64px; width: 64px; flex: none; }
@media (max-width: 600px) { .logo img.badge { height: 52px; width: 52px; } }
.nav-links { display: flex; gap: 1.5rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: .92rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--leaf-dark); font-weight: 600;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--clay); }
.nav-links a.quiet { color: var(--muted); font-weight: 500; }

.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem;
  align-items: center; padding: 3.5rem 0 4rem;
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; }
}
.eyebrow {
  font-family: "Source Sans 3", system-ui, sans-serif;
  letter-spacing: .22em; text-transform: uppercase; font-size: .75rem;
  color: var(--leaf); font-weight: 600; margin: 0 0 .6rem;
}
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); margin: 0 0 .6rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .8rem; }
h3 { font-size: 1.25rem; margin: 0 0 .4rem; }
.lede { font-size: 1.22rem; color: var(--muted); margin: 0 0 1.4rem; }
.meta { font-family: "Source Sans 3", system-ui, sans-serif; color: var(--muted); font-size: .95rem; margin: 0 0 1.4rem; }

.cover-frame {
  background: transparent;
  display: flex; justify-content: center;
}
.cover-frame img.cover {
  width: min(100%, 420px);
  height: auto;
  object-fit: contain;
  object-position: center;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 2px;
}
.mockup { width: min(100%, 520px); margin-inline: auto; filter: drop-shadow(0 16px 30px rgba(42,28,20,.16)); }

.btns { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.2rem 0 0; }
.btn {
  font-family: "Source Sans 3", system-ui, sans-serif;
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.25rem; border-radius: 999px;
  text-decoration: none; font-weight: 600; letter-spacing: .02em;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--leaf-dark); color: var(--white); }
.btn-primary:hover { background: var(--clay); color: var(--white); }
.btn-ghost { background: transparent; color: var(--leaf-dark); border-color: var(--leaf); }
.btn-ghost:hover { background: var(--leaf-dark); color: var(--white); }

.quote {
  margin: 0; padding: 1.4rem 0 0;
  font-family: Fraunces, Georgia, serif; font-size: 1.35rem; font-style: italic;
  color: var(--leaf-dark);
}
.quote cite { display: block; font-style: normal; font-family: "Source Sans 3", sans-serif; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .5rem; }

.band { background: var(--paper-2); padding: 3.2rem 0; }
.band.ink { background: var(--leaf-dark); color: var(--paper); }
.band.ink a { color: var(--gold); }
.band.ink .muted { color: color-mix(in srgb, var(--paper) 70%, transparent); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 820px) { .grid-2 { grid-template-columns: 1fr; } }

.catalog { padding: 3.5rem 0 4rem; }
.tile {
  display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; align-items: center;
  background: var(--white); padding: 1.25rem; border-radius: 8px;
  text-decoration: none; color: inherit;
  box-shadow: 0 8px 24px rgba(42,28,20,.08);
}
.tile img { width: 180px; height: auto; object-fit: contain; }
.tile p { margin: .4rem 0 0; color: var(--muted); }
@media (max-width: 600px) { .tile { grid-template-columns: 1fr; } .tile img { width: min(100%, 240px); } }

.prose { max-width: 42rem; }
.prose p { margin: 0 0 1rem; }
.specs {
  list-style: none; padding: 0; margin: 1.5rem 0;
  font-family: "Source Sans 3", system-ui, sans-serif; font-size: .95rem;
}
.specs li { display: flex; gap: .75rem; padding: .45rem 0; border-bottom: 1px solid var(--paper-2); }
.specs span { color: var(--muted); min-width: 8.5rem; }

.stars { color: var(--clay); letter-spacing: .08em; font-size: 1rem; }

footer.site {
  border-top: 1px solid var(--paper-2);
  padding: 2.2rem 0 2.8rem;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: .92rem; color: var(--muted);
}
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
footer.site a { color: var(--leaf-dark); text-decoration: none; }
footer.site a:hover { text-decoration: underline; }

.page { padding: 2.5rem 0 4rem; }
.page h1 { margin-bottom: 1rem; }
