/* ============================================================
   Lambton Family Hub — Discover More landing pages
   Shared by Local Guides, Seasons of Lambton and the two
   coming-soon season pages.

   Flat on purpose, like the directory pages: the colour comes
   from the palette rather than from photography, so a new page
   costs no images to shoot, host or keep current.
   ============================================================ */

body {
  margin: 0;
  background: var(--lfh-page);
  color: var(--lfh-ink);
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.lg-wrap { max-width: var(--page-w); margin: 0 auto; padding: 0 var(--page-pad); }

/* Page opening */
.lg-top { background: var(--lfh-surface); border-bottom: 1px solid var(--lfh-border); }
.lg-top .lg-wrap { padding-top: 2.4rem; padding-bottom: 2rem; }
.lg-kicker {
  margin: 0 0 .5rem;
  color: var(--lfh-terra-accessible);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.lg-top h1 {
  max-width: 20ch;
  margin: 0 0 .7rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.lg-lede { max-width: 62ch; margin: 0; color: var(--lfh-secondary-text); font-size: 1.05rem; line-height: 1.6; }
.lg-body { padding: 2.4rem 0 3.2rem; }
.lg-h2 {
  margin: 0 0 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

/* ── The map ───────────────────────────────────────────────────────────────
   A scan of the 1880 county atlas map, used exactly as it is: nothing is
   cropped, recoloured or redrawn on it. The clickable areas are a separate
   layer sitting on top, cut to shape with clip-path and positioned in
   percentages so they stay locked to their townships at any width.

   The map's names are the 1880 ones and several are not today's
   municipalities -- Moore and Sombra are now St. Clair Township, Bosanquet is
   now Lambton Shores -- so the modern names live in the list below, which
   doubles as the legend, rather than being written over the map. */
.lg-mapwrap { position: relative; max-width: 694px; margin: 0 0 1.8rem; line-height: 0; }
/* aspect-ratio reserves the box before the scan downloads, so the click
   layer is never briefly stacked on a zero-height image. */
.lg-mapimg { display: block; width: 100%; height: auto; aspect-ratio: 694 / 929; border-radius: 4px; }
.lg-area {
  position: absolute;
  inset: 0;
  clip-path: var(--lg-shape);
  background: var(--lg-hue);
  transition: background .15s ease;
}
.lg-area:hover, .lg-area:focus-visible { background: var(--lg-hue-on); outline: none; }
/* Focus can't show a ring through a clip-path, so keyboard focus deepens the
   tint further and the matching row in the list below is the reliable target. */
.lg-area:focus-visible { background: var(--lg-hue-on); }

/* One light hue per area, kept weak enough to read the map's own linework and
   place names straight through it. */
.lg-h1 { --lg-hue: rgba(198, 82, 62, .24);  --lg-hue-on: rgba(198, 82, 62, .44); }
.lg-h2 { --lg-hue: rgba(206, 146, 38, .26); --lg-hue-on: rgba(206, 146, 38, .46); }
.lg-h3 { --lg-hue: rgba(74, 141, 84, .24);  --lg-hue-on: rgba(74, 141, 84, .44); }
.lg-h4 { --lg-hue: rgba(56, 142, 146, .24); --lg-hue-on: rgba(56, 142, 146, .44); }
.lg-h5 { --lg-hue: rgba(132, 92, 168, .24); --lg-hue-on: rgba(132, 92, 168, .44); }
.lg-h6 { --lg-hue: rgba(58, 104, 178, .24); --lg-hue-on: rgba(58, 104, 178, .44); }

/* ── The town index ────────────────────────────────────────────────────────
   Every area on the map, as text. It is the keyboard and screen-reader route
   through the page, and it is what search engines read. */
.lg-index { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.lg-index a {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  padding: .85rem 1rem;
  border: 1px solid var(--lfh-border);
  border-radius: 10px;
  background: var(--lfh-surface);
  color: var(--lfh-ink);
  text-decoration: none;
}
.lg-index a:hover { border-color: var(--lfh-primary); color: var(--lfh-primary); }
.lg-index a:focus-visible { outline: 3px solid var(--lfh-focus); outline-offset: 2px; }
.lg-index .lg-dot { flex: none; width: 12px; height: 12px; border-radius: 3px; transform: translateY(1px); }
.lg-index .lg-name { font-family: 'Inter', system-ui, sans-serif; font-size: 1rem; font-weight: 800; }
.lg-index .lg-note { color: var(--lfh-secondary-text); font-size: .88rem; }
.lg-index .lg-note em { font-style: italic; }
.lg-s1 { background: #1f4a3a; }
.lg-s2 { background: #1f4a3a; }
.lg-s3 { background: #4A8D54; }
.lg-s4 { background: #388E92; }
.lg-s5 { background: #845CA8; }
.lg-s6 { background: #3A68B2; }

/* ── The four seasons ──────────────────────────────────────────────────────
   Four squares, one per season. A season that has no guide yet still gets a
   square and still leads somewhere: its own page, saying so. */
.lg-seasons { display: grid; gap: 1rem; margin: 0 0 2.4rem; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.lg-season {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 1;
  padding: 1.2rem;
  border-radius: 14px;
  color: #fbfcfb;
  text-decoration: none;
  transition: filter .15s ease;
}
.lg-season:hover, .lg-season:focus-visible { filter: brightness(1.12); color: #fbfcfb; }
.lg-season:focus-visible { outline: 3px solid var(--lfh-focus); outline-offset: 3px; }
.lg-season h2 { margin: 0; font-family: 'Inter', system-ui, sans-serif; font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; }
.lg-season p { margin: .35rem 0 0; font-size: .92rem; line-height: 1.45; opacity: .92; }
.lg-season .lg-tag {
  position: absolute;
  top: 1.1rem;
  left: 1.2rem;
  padding: .28rem .6rem;
  border-radius: 6px;
  background: rgba(255, 252, 247, .22);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.lg-spring { background: #4c6141; }
.lg-summer { background: #3a6168; }
.lg-fall   { background: #8A5233; }
.lg-winter { background: #4F5F6E; }

/* ── Coming soon ───────────────────────────────────────────────────────────
   A season page before its guide exists. It says plainly that there is
   nothing here yet and sends you to the things that do exist. */
.lg-soon { max-width: 60ch; padding: 2.8rem 0 3.4rem; }
.lg-soon p { color: var(--lfh-secondary-text); font-size: 1.05rem; line-height: 1.65; }
.lg-soon-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; padding: 0; list-style: none; }
.lg-soon-links a {
  display: inline-block;
  padding: .7rem 1.1rem;
  border: 1px solid var(--lfh-border);
  border-radius: 10px;
  background: var(--lfh-surface);
  color: var(--lfh-ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .95rem;
  font-weight: 800;
  text-decoration: none;
}
.lg-soon-links a:hover { border-color: var(--lfh-primary); color: var(--lfh-primary); }
.lg-soon-links a:focus-visible { outline: 3px solid var(--lfh-focus); outline-offset: 2px; }

/* Lifecycle tags outside the season cards: a placeholder guide says so in its own hero. */
.lg-status { margin: .9rem 0 0; }
.lg-top .lg-tag { display: inline-block; padding: .3rem .75rem; border-radius: 6px; background: var(--lfh-primary); color: #fbfcfb; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
