/* library/style.css -- Book Bandits (Pixar-library brand)
 * Imports shared reset + base, then overrides ONLY palette and
 * font-family tokens. Layout / spacing / type-scale / motion
 * are inherited from base.css. Library skin: dark wood-brown
 * background, warm cream ink, amber lamp-glow accents. */

@import url('reset.css');
@import url('base.css');

:root {
  /* Library palette (locked) */
  --bg:        #1f140d;  /* deep wood brown */
  --bg-soft:   #3a2516;  /* lighter section band */
  --ink:       #f4d99e;  /* warm cream text */
  --accent:    #e8983a;  /* amber lamp glow */
  --accent-2:  #f4c878;  /* gold-yellow */

  /* Library type */
  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body:    'Quicksand', system-ui, sans-serif;
}

/* Library headings catch the lamp glow */
h1, h2, h3 {
  color: var(--accent-2);
  font-weight: 700;
}

/* Skip-link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--bg);
  padding: var(--space-2) var(--space-3);
  z-index: 1000; text-decoration: none;
  border-radius: 0.5rem;
  font-family: var(--font-display); font-weight: 600;
}
.skip-link:focus-visible { left: var(--space-3); top: var(--space-3); }

/* Site header / nav */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.site-header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--space-2) var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4);
}
.brand { display: inline-flex; align-items: center; gap: var(--space-2); text-decoration: none; color: var(--ink); }
.brand img { width: clamp(40px, 6vw, 56px); height: auto; }
.brand-text {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-md);
  letter-spacing: 0.01em;
  color: var(--accent-2);
}
.site-nav { display: flex; gap: clamp(var(--space-2), 2vw, var(--space-4)); flex-wrap: wrap; }
.site-nav a {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.02em;
  font-size: var(--fs-sm);
  text-decoration: none; color: var(--ink);
  padding: var(--space-1) var(--space-3);
  border-radius: 0.5rem;
}
.site-nav a:hover, .site-nav a:focus-visible {
  color: var(--bg);
  background: var(--accent-2);
}

/* Hero -- full-bleed art with overlay copy */
.hero {
  position: relative;
  min-height: 90vh;
  padding: 0;
  background: var(--bg);
  text-align: center;
  overflow: hidden;
  display: block; /* override base section flex */
}
.hero-art {
  width: 100%;
  height: 100%;
  min-height: 90vh;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(5rem, 12vh, 9rem);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 45%,
    color-mix(in srgb, var(--bg) 70%, transparent) 78%,
    color-mix(in srgb, var(--bg) 92%, transparent) 100%
  );
}
.hero-copy {
  display: flex; flex-direction: column;
  gap: var(--space-2);
  align-items: center;
  text-align: center;
}
.hero-tagline {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-2xl);
  color: var(--accent-2);
  letter-spacing: 0.005em;
  max-width: 22ch;
  line-height: 1.05;
  text-shadow: 0 2px 14px color-mix(in srgb, var(--bg) 90%, transparent);
}
.hero-sub {
  font-family: var(--font-body); font-weight: 400;
  font-style: italic;
  font-size: var(--fs-md);
  color: var(--ink);
  max-width: 32ch;
  text-shadow: 0 2px 10px color-mix(in srgb, var(--bg) 90%, transparent);
}
.scroll-cue {
  position: absolute; bottom: var(--space-4); left: 50%;
  transform: translateX(-50%);
  width: 2.75rem; height: 2.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--accent); border-radius: 50%;
  color: var(--accent); text-decoration: none;
  font-size: var(--fs-md);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  animation: bookbandits-bob 2.4s var(--ease-out) infinite;
}
.scroll-cue:hover, .scroll-cue:focus-visible {
  background: var(--accent); color: var(--bg); border-color: var(--accent);
  outline: none;
}
@keyframes bookbandits-bob {
  0%, 80%, 100% { transform: translate(-50%, 0); }
  40%           { transform: translate(-50%, -6px); }
}

/* Eyebrow label */
.section-label {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

/* About */
#about .lead {
  font-size: var(--fs-md);
  margin: var(--space-3) 0;
  color: var(--accent-2);
  font-weight: 600;
}
#about p { margin-bottom: var(--space-3); }

/* What's a book band? -- single column, library-quiet */
.what-inner {
  display: grid; grid-template-columns: 1fr;
  gap: var(--space-4); align-items: center;
  max-width: 50rem;
}
.bullets {
  list-style: none; padding: 0; margin: var(--space-3) 0;
  display: flex; flex-direction: column; gap: var(--space-2);
}
.bullets li {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--fs-md);
  color: var(--ink);
  padding-left: var(--space-5);
  position: relative;
  line-height: 1.4;
}
.bullets li::before {
  content: '\2728'; /* sparkles */
  position: absolute; left: 0; top: 0;
  color: var(--accent);
  font-size: var(--fs-base);
}
.elaboration {
  margin-top: var(--space-3);
  color: color-mix(in srgb, var(--ink) 92%, transparent);
}

/* Next */
.next-event {
  font-size: var(--fs-md);
  margin: var(--space-3) 0;
  padding: var(--space-3) var(--space-4);
  background: color-mix(in srgb, var(--accent) 14%, var(--bg));
  border-left: 4px solid var(--accent);
  border-radius: 0 0.5rem 0.5rem 0;
  color: var(--ink);
}
.next-note { color: color-mix(in srgb, var(--ink) 70%, transparent); }

/* Hello (mailto) */
.hello-inner { text-align: center; }
.hello-inner p { margin-left: auto; margin-right: auto; }
.mailto-wrap { margin-top: var(--space-4); }
.mailto-button {
  display: inline-block;
  padding: var(--space-3) var(--space-5);
  background: var(--accent); color: var(--bg);
  text-decoration: none; border-radius: 0.5rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--fs-md);
  letter-spacing: 0.01em;
  border: 2px solid var(--accent);
  transition: background var(--duration-quick) var(--ease-out),
              color var(--duration-quick) var(--ease-out),
              border-color var(--duration-quick) var(--ease-out),
              transform var(--duration-quick) var(--ease-out),
              box-shadow var(--duration-quick) var(--ease-out);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 30%, transparent);
}
.mailto-button:hover, .mailto-button:focus-visible {
  background: var(--accent-2); color: var(--bg); border-color: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px color-mix(in srgb, var(--accent-2) 45%, transparent);
  outline: none;
}
.mailto-button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Footer */
.site-footer {
  padding: var(--space-5) var(--gutter);
  background: var(--bg-soft);
  text-align: center;
  border-top: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
}
.site-footer .container { max-width: var(--content-max); margin: 0 auto; }
.site-footer p {
  margin-left: auto; margin-right: auto;
  color: color-mix(in srgb, var(--ink) 70%, transparent);
  font-style: italic;
}
