/* ===========================================================
   Lanlan — octagonal pointillism
   Letters drawn by tiles. Lanlan palette. Diamond accents.
   =========================================================== */

:root {
  /* Lanlan palette — lifted from lanlan.site */
  --cream:    #F4EFE6;
  --cream-2:  #EDE6D8;
  --ink:      #1A1613;
  --ink-deep: #171311;
  --ash-dark: #3A342E;
  --ash:      #6B6259;
  --ash-light:#9B9489;
  --forest:   #3F7A66;
  --sage:     #519682;
  --ochre:    #C99566;
  --grout:    #E5DBC5;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern', 'liga';
}

body {
  /* Subtle handmade variation across the page */
  background-image:
    radial-gradient(circle at 12% 18%, rgba(150, 120, 70, 0.06) 0%, transparent 38%),
    radial-gradient(circle at 82% 70%, rgba(60, 80, 70, 0.04) 0%, transparent 38%),
    radial-gradient(circle at 50% 96%, rgba(60, 50, 30, 0.03) 0%, transparent 50%);
  min-height: 100vh;
  padding: 36px 18px 80px;
}

/* sr-only — keep semantic text accessible */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.sr-skip {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
  z-index: 9999;
}
.sr-skip:focus {
  position: fixed; left: 12px; top: 12px;
  width: auto; height: auto;
  background: var(--ink); color: var(--cream);
  padding: 8px 14px; border-radius: 3px;
  font: 500 14px/1.2 'Manrope', sans-serif;
}

.mosaic {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* glyphs spans hold no visible content — they’re config carriers for tiles.js */
.glyphs { display: none; }

/* Each band hosts one SVG that draws the whole tile field */
.band {
  position: relative;
  display: block;
  margin: 0;
}

.band-svg {
  display: block;
  width: 100%;
  height: auto;
  shape-rendering: geometricPrecision;
}

/* Click hit-areas overlaid on the SVG for anchor glyphs */
.glyph-link {
  position: absolute;
  display: block;
  cursor: pointer;
  border-radius: 3px;
  transition: filter 0.18s ease, transform 0.18s ease;
}
.glyph-link:hover {
  filter: brightness(1.10) saturate(1.05);
  transform: translateY(-1px);
}
.glyph-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
