/* ============================================================
   areas.css — Areas We Cover page only.
   Loaded ONLY by areas-we-cover.html. Does not affect any
   other page. Palette inherits from css/style.css tokens.
   Cache: 1 year per .htaccess — bump ?v= in the <link> in
   areas-we-cover.html whenever this file changes.
   ============================================================ */

/* ---- Tier palettes: one colour family per group ---- */
.area-tier-inner {
  --tier-accent: #1a5f2a;
  --tier-tint-a: #f4faf5;
  --tier-tint-b: #dfefdf;
  --tier-chip-bg: rgba(26, 95, 42, 0.12);
}
.area-tier-central {
  --tier-accent: #a86608;
  --tier-tint-a: #fffbf2;
  --tier-tint-b: #fbeacb;
  --tier-chip-bg: rgba(245, 166, 35, 0.18);
}
.area-tier-outer {
  --tier-accent: #2a6a6a;
  --tier-tint-a: #f2f8f8;
  --tier-tint-b: #dcecec;
  --tier-chip-bg: rgba(42, 106, 106, 0.12);
}

/* ---- Stylised area card ---- */
.area-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--tier-tint-a) 0%, var(--tier-tint-b) 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: 4px solid var(--tier-accent);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform .2s ease, box-shadow .2s ease;
}

/* Soft corner glow in the tier hue */
.area-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at center, var(--tier-chip-bg) 0%, transparent 70%);
  pointer-events: none;
}

.area-card:hover,
.area-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
}

.area-card h3 {
  position: relative;
  color: var(--tier-accent);
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* Small uppercase chip in the tier hue */
.area-chip {
  display: inline-block;
  position: relative;
  background: var(--tier-chip-bg);
  color: var(--tier-accent);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

/* Landmark line with tinted left accent */
.area-landmarks {
  position: relative;
  font-size: 0.9rem;
  color: #444;
  border-left: 3px solid var(--tier-accent);
  padding-left: 12px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.area-card p {
  position: relative;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.55;
}

/* Respect the site-wide reduced-motion rule */
@media (prefers-reduced-motion: reduce) {
  .area-card { transition: none; }
  .area-card:hover,
  .area-card:focus-within { transform: none; }
}

/* ---- CTA banner: plain inline links must be legible on --primary-dark ---- */
/* .btn is excluded so the primary button keeps its own styling. */
.cta-banner a:not(.btn),
.cta-banner a:not(.btn):visited {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  font-weight: 600;
}
.cta-banner a:not(.btn):hover,
.cta-banner a:not(.btn):focus-visible {
  color: var(--accent);
  text-decoration-thickness: 3px;
}
