.year-shell {
  padding: 20px 0 44px;
}

.year-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(37,99,235,.18), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #eef4ff 48%, #f8fbff 100%);
  border: 1px solid rgba(37,99,235,.12);
  border-radius: 22px;
  padding: 28px 30px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .07);
}

.year-hero::after{
  content:"";
  position:absolute;
  inset:auto -110px -110px auto;
  width:240px;
  height:240px;
  border-radius:50%;
  background:rgba(37,99,235,.08);
}

.hero-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(37,99,235,.10);
  color:#1d4ed8;
  border:1px solid rgba(37,99,235,.16);
  padding:7px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.02em;
}

.year-hero h1{
  font-size:clamp(34px, 5vw, 54px);
  line-height:1.04;
  max-width: 12ch;
  margin:16px 0 14px;
}

.year-hero p{
  max-width: 70ch;
  font-size:17px;
  line-height:1.7;
  color:#475569;
  margin:0;
}

.year-warning-banner{
  margin-top:18px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  background:#fff7ed;
  border:1px solid #fdba74;
  color:#9a3412;
  padding:14px 16px;
  border-radius:16px;
}

.year-warning-banner strong{
  color:#7c2d12;
}

.year-switcher{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}

.year-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:78px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  color:#334155;
  font-weight:700;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.year-pill:hover{
  border-color:rgba(37,99,235,.35);
  color:var(--accent);
}

.year-pill.current{
  background:linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color:#1d4ed8;
  color:#fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 24px;
}

.stat-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:22px;
  padding:22px 24px;
  box-shadow:0 16px 35px rgba(15,23,42,.04);
}

.stat-value{
  font-size:32px;
  line-height:1;
  font-weight:800;
  color:#0f172a;
  margin-bottom:10px;
}

.stat-label{
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:#64748b;
  margin-bottom:8px;
}

.stat-copy{
  color:#475569;
  font-size:14px;
  line-height:1.65;
}

.year-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(320px, .85fr);
  gap:24px;
  align-items:start;
}

.surface-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:24px;
  padding:28px;
  box-shadow:0 14px 35px rgba(15, 23, 42, .04);
}

.section-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-end;
  margin-bottom:20px;
}

.section-head h2{
  font-size:26px;
  line-height:1.15;
}

.section-head p{
  margin:0;
  color:#64748b;
  max-width:60ch;
  line-height:1.6;
}

.holiday-list{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  margin:0;
  padding:0;
  list-style:none;
}

.holiday-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:14px 16px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:18px;
}

.holiday-date{
  flex:0 0 auto;
  min-width:58px;
  border-radius:14px;
  background:#dbeafe;
  color:#1d4ed8;
  padding:10px 8px;
  text-align:center;
  font-size:12px;
  font-weight:800;
  line-height:1.2;
}

.holiday-body strong{
  display:block;
  color:#0f172a;
  margin-bottom:4px;
  font-size:15px;
}

.holiday-body span{
  color:#64748b;
  font-size:13px;
  line-height:1.5;
}

.notes-list{
  display:grid;
  gap:14px;
}

.note-card{
  background:linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px 18px 16px;
}

.note-card h3{
  font-size:16px;
  margin-bottom:8px;
}

.note-card p{
  margin:0;
  color:#64748b;
  line-height:1.65;
  font-size:14px;
}

.community-directory{
  display:grid;
  gap:18px;
}

.community-block{
  border:1px solid var(--border);
  border-radius:20px;
  background:#fff;
  overflow:hidden;
}

.community-block-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:18px 20px;
  background:linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
  border-bottom:1px solid var(--border);
}

.community-block-header h3{
  font-size:18px;
}

.community-block-header h3 a{
  color:inherit;
  text-decoration:none;
}

.community-block-header h3 a:hover{
  color:var(--accent);
}

.community-meta{
  font-size:13px;
  font-weight:700;
  color:#64748b;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.province-chip-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(160px, 1fr));
  gap:12px;
  padding:18px;
}

.province-chip{
  display:block;
  padding:13px 14px;
  background:#fff;
  border:1px solid #dbe3ef;
  border-radius:14px;
  font-size:14px;
  color:#1f2937;
  transition:all .2s ease;
}

.province-chip:hover{
  transform:translateY(-2px);
  border-color:rgba(37,99,235,.35);
  color:var(--accent);
  box-shadow:0 8px 24px rgba(37,99,235,.08);
}

.hub-years{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:18px;
  margin:30px 0 34px;
}

.hub-year-card{
  display:block;
  position:relative;
  overflow:hidden;
  min-height:190px;
  background:linear-gradient(145deg, #ffffff 0%, #eef4ff 100%);
  border:1px solid rgba(37,99,235,.12);
  border-radius:24px;
  padding:24px;
  color:#0f172a;
  box-shadow:0 18px 38px rgba(15,23,42,.05);
}

.hub-year-card::after{
  content:"";
  position:absolute;
  right:-22px;
  bottom:-28px;
  width:110px;
  height:110px;
  border-radius:50%;
  background:rgba(37,99,235,.10);
}

.hub-year-card:hover{
  transform:translateY(-3px);
  box-shadow:0 24px 46px rgba(15,23,42,.08);
}

.hub-year-card h2{
  font-size:36px;
  margin-bottom:10px;
}

.hub-year-card p{
  color:#475569;
  line-height:1.6;
  margin:0 0 20px;
  max-width:26ch;
}

.hub-year-meta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:#1d4ed8;
}

.hub-layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 320px;
  gap:24px;
  align-items:start;
}

.hub-panel-list{
  display:grid;
  gap:14px;
}

.hub-panel-item{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px;
}

.hub-panel-item strong{
  display:block;
  margin-bottom:8px;
  font-size:15px;
}

.hub-panel-item p{
  margin:0;
  color:#64748b;
  line-height:1.65;
  font-size:14px;
}

@media(max-width:980px){
  .year-grid,
  .hub-layout{
    grid-template-columns:1fr;
  }
}

@media(max-width:760px){
  .year-hero{
    padding:24px;
    border-radius:22px;
  }

  .stats-grid{
    grid-template-columns:1fr;
  }

  .surface-card{
    padding:22px;
    border-radius:20px;
  }

  .holiday-list{
    grid-template-columns:1fr;
  }

  .province-chip-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:520px){
  .province-chip-grid{
    grid-template-columns:1fr;
  }

  .section-head{
    flex-direction:column;
    align-items:flex-start;
  }
}
