/*
 * ════════════════════════════════════════════════════════════════
 *  INDEX PAGE — Component Styles (Civic Lobby)
 *  Climate Change Duties Platform · Argyll & Bute Council
 *
 *  Page-specific components for the platform home/index page.
 *  Reference design: index-loby-demo.html (Concept D)
 *
 *  v2.1 — April 2026 — Removed cream background; all theme-sensitive
 *  colours now use CSS variables from civic-swiss.css so dark/light
 *  modes both work correctly.
 * ════════════════════════════════════════════════════════════════
 */


/* ── LOBBY MAIN CONTENT ────────────────────────────────────── */

.lobby-main-content {
  /* inherits --bg from civic-swiss.css — no override */
  padding: 0;
}


/* ── HERO ZONE ─────────────────────────────────────────────── */

.lobby-hero {
  position: relative;
  padding: 56px 64px 44px 64px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  max-width: 1280px;
}

.hero-bg-numeral {
  position: absolute;
  right: -50px;
  top: -90px;
  font-size: 520px;
  font-weight: 800;
  color: var(--brand-teal);
  opacity: 0.07;
  letter-spacing: -18px;
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
}

.hero-top-rule {
  width: 48px;
  height: 3px;
  background: var(--brand-amber);
  margin-bottom: 16px;
}

.hero-eyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-m);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-eyebrow .dot {
  width: 3px;
  height: 3px;
  background: var(--text-m);
  border-radius: 50%;
  opacity: 0.5;
}

.hero-content {
  position: relative;
}

.hero-text-col {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 72px;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -2.4px;
  color: var(--text);
  margin-bottom: 26px;
  margin-top: 0;
  padding: 0;
}

.hero-title .accent {
  color: var(--brand-teal);
}

.hero-rule {
  width: 100%;
  max-width: 640px;
  height: 1px;
  background: var(--divider);
  margin-bottom: 22px;
}

.hero-statement {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  max-width: 640px;
  font-weight: 400;
}

.hero-statement .lead {
  font-weight: 700;
  color: var(--text);
}

.hero-statement em {
  font-style: italic;
  color: var(--text-m);
}


/* ── ACTIVITY STRIP ────────────────────────────────────────── */

.activity-strip {
  background: var(--brand-teal);
  color: #F2EFE7;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.activity-strip-inner {
  display: grid;
  grid-template-columns: 200px 1fr 1fr 1fr 1fr;
  max-width: 1280px;
}

.activity-strip::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--brand-amber);
}

.activity-label {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.activity-label-eyebrow {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--brand-amber);
  margin-bottom: 4px;
}

.activity-label-title {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.activity-label-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
  font-style: italic;
}

.activity-cell {
  padding: 22px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
  cursor: pointer;
}

.activity-cell:last-child {
  border-right: none;
}

.activity-cell:hover {
  background: rgba(255, 255, 255, 0.05);
}

.ac-channel {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}

.ac-metric {
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 5px;
  letter-spacing: -0.4px;
}

.ac-metric .unit {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 4px;
  letter-spacing: 0;
}

.ac-detail {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.2px;
}

.ac-detail.muted {
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
}


/* ── DOORS ─────────────────────────────────────────────────── */

.doors-section {
  padding: 44px 64px 56px 64px;
  max-width: 1280px;
}

.doors-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-m);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.doors-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--divider);
}

.doors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.door {
  background: var(--surface);
  padding: 28px 28px 26px 28px;
  text-decoration: none;
  color: inherit;
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-tile);
  border: 1px solid var(--border);
  border-radius: var(--tile-radius);
}

.door:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-tile-hover);
}

.door-number {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--brand-teal);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.door-number::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand-teal);
}

.door-name {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.6px;
  color: var(--text);
  margin-bottom: 14px;
}

.door-desc {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-m);
  flex: 1;
  margin-bottom: 18px;
}

.door-signal {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--text);
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.door-signal .signal-warn {
  color: var(--red);
}

.door-signal .arrow {
  font-size: 14px;
  color: var(--text-m);
  margin-left: 10px;
}


/* ── DOOR 04 — Wide PBCCD Card ─────────────────────────────── */

.door-wide {
  background: var(--brand-teal);
  color: #FFFFFF;
  padding: 0;
  text-decoration: none;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  min-height: 240px;
  box-shadow: var(--shadow-tile);
  border: 1px solid var(--brand-teal);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  border-radius: var(--tile-radius);
}

.door-wide:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-tile-hover);
}

.door-wide-bg {
  position: absolute;
  right: -20px;
  bottom: -80px;
  font-size: 280px;
  font-weight: 800;
  color: #FFFFFF;
  opacity: 0.09;
  line-height: 0.85;
  letter-spacing: -10px;
  pointer-events: none;
}

.door-wide-left {
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.door-wide-left .door-number {
  color: #FFFFFF;
  margin-bottom: 14px;
}

.door-wide-left .door-number::before {
  background: #FFFFFF;
}

.door-wide-left .door-name {
  color: #FFFFFF;
  font-size: 26px;
  line-height: 1.05;
  margin-bottom: 12px;
}

.door-wide-left .door-name .quiet {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  font-size: 13px;
  display: block;
  margin-top: 8px;
  letter-spacing: 0;
  line-height: 1.4;
}

.door-wide-left .door-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.55;
  max-width: 280px;
}

.door-wide-cta {
  margin-top: auto;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #FFFFFF;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.door-wide-right {
  padding: 30px 32px 30px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
  gap: 9px;
  position: relative;
  z-index: 2;
}

.sp-title {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.sp-row {
  display: grid;
  grid-template-columns: 130px 1fr 24px;
  align-items: center;
  gap: 14px;
}

.sp-name {
  font-size: 11px;
  color: #FFFFFF;
  letter-spacing: 0.2px;
}

.sp-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.sp-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: #FFFFFF;
}

.sp-bar-fill.gap {
  background: var(--brand-amber);
}

.sp-count {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  text-align: right;
}

.sp-count.gap {
  color: var(--brand-amber);
}


/* ── IN DEVELOPMENT SECTION ─────────────────────────────────── */

.dev-section {
  padding: 0 64px 60px 64px;
}

.dev-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-m);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.dev-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--divider);
}

.dev-label-badge {
  background: rgba(226, 175, 71, 0.12);
  color: var(--brand-amber);
  border: 1px solid rgba(226, 175, 71, 0.3);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 2px 7px;
  border-radius: var(--tile-radius);
}

.dev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.dev-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px dotted var(--divider);
  border-radius: var(--tile-radius);
  padding: 20px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dev-badge {
  display: inline-block;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-f);
  background: var(--surface3);
  border-radius: var(--tile-radius);
  padding: 2px 6px;
  width: fit-content;
}

.dev-number {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.dev-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  white-space: nowrap;
}

.dev-desc {
  font-size: 16px;
  color: var(--text-m);
  line-height: 1.5;
  flex: 1;
  margin-top: 2px;
}

.dev-enables {
  font-size: 10px;
  color: var(--text-f);
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--divider);
}

@media (max-width: 900px) {
  .dev-grid {
    grid-template-columns: 1fr;
  }
  .dev-section {
    padding: 0 24px 40px 24px;
  }
}