/* ---------- Tokens ----------
   Base colours come from the RSB Infotech logo: navy, sky blue and orange.
   Green and blue keep their meaning from India's segregation bins:
   green = wet waste, blue = dry waste. */
:root {
  --river: #0b3a6b;
  --river-deep: #042445;
  --river-tint: #e6eef7;
  --paper: #f5f7fa;
  --surface: #ffffff;
  --ink: #142130;
  --muted: #4f5b67;
  --line: #d6dee8;
  --wet: #3fa66b;
  --dry: #1f86c9;
  --marigold: #f7941d;
  --danger: #b4372f;

  --font-display: "Anek Latin", "Anek Bangla", "Anek Devanagari", system-ui, sans-serif;
  --font-body: "Hind Siliguri", "Hind", system-ui, sans-serif;

  /* modular scale, ratio 1.25 */
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.33rem;
  --step-2: 1.66rem;
  --step-3: 2.07rem;
  --step-4: clamp(2.2rem, 3.2vw + 1rem, 3.6rem);

  --radius-s: 0.375rem;
  --radius-m: 0.75rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --measure: 68ch;
  --max: 75rem;
}

html[lang="bn"] { --font-display: "Anek Bangla", "Anek Latin", system-ui, sans-serif; }
html[lang="hi"] {
  --font-display: "Anek Devanagari", "Anek Latin", system-ui, sans-serif;
  --font-body: "Hind", "Hind Siliguri", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: 100%; }

/* Screen-size scaling: all spacing is in rem, so raising the root size scales
   the whole layout (text, gaps, header, container width) for large monitors and TVs. */
@media (min-width: 1600px) { html { font-size: 106.25%; } }   /* 17px – large desktop */
@media (min-width: 1920px) { html { font-size: 118.75%; } }   /* 19px – full HD / TV */
@media (min-width: 2560px) { html { font-size: 150%; } }      /* 24px – QHD / large TV */
@media (min-width: 3400px) { html { font-size: 200%; } }      /* 32px – 4K TV */
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
p, li, dd, dt, h1, h2, h3, h4, td, a { overflow-wrap: break-word; }
a { color: var(--river); text-underline-offset: 3px; }
a:hover { color: var(--river-deep); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 85%;
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--river-deep);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; max-width: var(--measure); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section--tint { background: var(--river-tint); }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0.5rem; background: var(--surface); padding: 0.5rem 0.75rem; z-index: 100; }
.skip-link:focus { left: 0.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.875rem; padding: 0 1.375rem;
  font: 600 var(--step-0)/1 var(--font-body);
  border-radius: var(--radius-s); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
}
.btn--primary { background: var(--river); color: #fff; }
.btn--primary:hover { background: var(--river-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--river); border-color: var(--river); }
.btn--ghost:hover { background: var(--river); color: #fff; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn--small { min-height: 2.125rem; padding: 0 0.75rem; font-size: var(--step--1); }
.btn--danger { background: transparent; color: var(--danger); border-color: var(--danger); }

/* ---------- Segregation stripe (the identity device) ---------- */
.bins { display: flex; gap: 4px; }
.bins span { width: 0.625rem; height: 1.625rem; border-radius: 3px; }
.bins span:nth-child(1) { background: var(--wet); }
.bins span:nth-child(2) { background: var(--dry); }
.bins span:nth-child(3) { background: var(--marigold); }

/* ---------- Header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header__bar { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; position: relative; }
.brand { display: flex; flex-shrink: 0; align-items: center; gap: 0.875rem; text-decoration: none; color: var(--river-deep); }
.brand__logo { height: 2.625rem; width: auto; }
.brand__site { padding-left: 0.875rem; border-left: 1px solid var(--line); white-space: nowrap; }
.brand__site .brand__name { font-size: 1.1rem; }
.brand__site .brand__sub { margin-top: 2px; }
@media (min-width: 1081px) and (max-width: 1360px) { .brand__site { display: none; } }
.footer-logo { display: inline-block; background: #fff; border-radius: var(--radius-m); padding: 0.625rem 0.875rem; margin-bottom: 1rem; }
.footer-logo img { height: 2.5rem; width: auto; }
@media (max-width: 520px) { .brand__logo { height: 2.125rem; } .brand__site { display: none; } }
.brand__name { font-family: var(--font-display); font-stretch: 80%; font-weight: 800; font-size: 1.35rem; line-height: 1; }
.brand__sub { display: block; font-family: var(--font-body); font-size: 0.78rem; font-weight: 500; color: var(--muted); margin-top: 3px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { padding: 0.5rem 0.625rem; border-radius: var(--radius-s); text-decoration: none; color: var(--ink); font-weight: 500; }
.nav a:hover { background: var(--river-tint); }
.nav a.active { color: var(--river); box-shadow: inset 0 -3px 0 var(--wet); border-radius: 0; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.lang-switch button { border: 0; background: transparent; padding: 0.375rem 0.625rem; font: 600 0.9rem var(--font-body); color: var(--muted); cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--river); color: #fff; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0.5rem 0.75rem; font: 600 0.95rem var(--font-body); }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
         background: var(--surface); border-bottom: 1px solid var(--line); padding: 0.5rem var(--gutter) 1rem;
         max-height: calc(100dvh - 4.5rem); overflow-y: auto; box-shadow: 0 0.75rem 1.5rem rgba(4, 36, 69, 0.08); }
  .nav a { padding: 0.75rem 0.625rem; }
  .lang-switch button { padding: 0.5rem 0.875rem; }
  .nav.open { display: flex; }
  .nav a.active { box-shadow: inset 4px 0 0 var(--wet); }
  .lang-switch { align-self: flex-start; margin-top: 0.5rem; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--river-deep); color: #c8d5e4; padding: 3.5rem 0 1.75rem; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 2rem; }
.footer-grid h4 { color: #fff; font-size: 1.05rem; margin-bottom: 0.75rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.375rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: var(--step--1); display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero h1 { max-width: 14ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero__figure { position: relative; }
.legend { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.75rem; font-size: var(--step--1); color: var(--muted); }
.legend i { display: inline-block; width: 0.75rem; height: 0.75rem; border-radius: 50%; margin-right: 0.375rem; vertical-align: -1px; }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } .hero h1 { max-width: 18ch; } }
@media (max-width: 420px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .stats strong { font-size: var(--step-2); }
}


/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stats div { padding: 1.375rem 0; }
.stats strong { display: block; font-family: var(--font-display); font-stretch: 80%; font-size: var(--step-3); color: var(--river); line-height: 1; }
.stats span { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Content blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 3.5rem; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--river); color: #fff;
  display: grid; place-items: center; font: 700 1.1rem var(--font-display);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.25rem; left: 3rem; right: -16px; height: 2px; background: var(--line); }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 1100px) { .steps { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; } .steps li::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.page-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(2.25rem, 5vw, 4rem) 0 clamp(1.75rem, 4vw, 2.75rem); }
.page-head .bins { margin-bottom: 1.125rem; }

.prose { max-width: var(--measure); }
.prose h2 { margin-top: 1.6em; font-size: var(--step-2); }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }

.term-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; margin: 0; }
.term-list > div { padding: 1.375rem 0; border-top: 1px solid var(--line); }
.term-list dt { font-family: var(--font-display); font-stretch: 85%; font-weight: 700; font-size: 1.2rem; color: var(--river-deep); margin-bottom: 0.375rem; }
.term-list dd { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .term-list { grid-template-columns: 1fr; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.values h3, .values h4 { padding-left: 0.875rem; border-left: 4px solid var(--wet); font-size: var(--step-1); margin-bottom: 0.5rem; }
.values > div:nth-child(2) :is(h3, h4) { border-color: var(--dry); }
.values > div:nth-child(3) :is(h3, h4) { border-color: var(--marigold); }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 2rem; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post-card__img { aspect-ratio: 16/10; background: var(--river-tint); border-radius: var(--radius-m); overflow: hidden; margin-bottom: 0.875rem; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card time { font-size: var(--step--1); color: var(--muted); }
.post-card h3 { margin: 4px 0 0.375rem; }
.post-card:hover h3 { text-decoration: underline; text-decoration-color: var(--wet); text-underline-offset: 4px; }
.post-card p { color: var(--muted); font-size: 0.97rem; }
.pager { display: flex; gap: 0.75rem; align-items: center; margin-top: 2.25rem; }

.empty { padding: 2.5rem 0; color: var(--muted); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
th, td { text-align: left; padding: 0.75rem 0.875rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--muted); background: #f8fafc; white-space: nowrap; }
@media (max-width: 560px) { th, td { padding: 0.625rem 0.75rem; } table { font-size: 0.9rem; } }
tr:last-child td { border-bottom: 0; }
.status { display: inline-block; padding: 2px 0.625rem; border-radius: 62.4375rem; font-size: 0.82rem; font-weight: 600; }
.status--Ongoing, .status--New { background: #e6f1fa; color: #1e5f99; }
.status--Completed, .status--Closed, .status--Hired { background: #e4f4ea; color: #24734a; }
.status--Planned, .status--InProgress, .status--Shortlisted { background: #fdf2d9; color: #8a5a00; }
.status--Rejected { background: #f8e3e1; color: var(--danger); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.125rem; max-width: 40rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.125rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.375rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 0.625rem 0.75rem; border: 1px solid #b8c4d1; border-radius: var(--radius-s); background: var(--surface);
}
.field textarea { min-height: 8.75rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--river); outline-offset: 0; border-color: var(--river); }
.field[data-invalid="true"] input, .field[data-invalid="true"] textarea, .field[data-invalid="true"] select { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 0.88rem; }
.field__hint { color: var(--muted); font-size: 0.88rem; }
.check { display: flex; gap: 0.625rem; align-items: flex-start; font-size: 0.95rem; }
.check input { margin-top: 0.3125rem; width: 1.125rem; height: 1.125rem; }
.notice { padding: 0.875rem 1rem; border-radius: var(--radius-s); border-left: 4px solid var(--wet); background: #eaf6ef; }
.notice--error { border-color: var(--danger); background: #fbecea; }

/* ---------- Jobs ---------- */
.jobs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.job { padding: 1.5rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: start; }
.job__meta { display: flex; flex-wrap: wrap; gap: 4px 1.125rem; color: var(--muted); font-size: var(--step--1); margin-bottom: 0.5rem; }
.job details summary { cursor: pointer; color: var(--river); font-weight: 600; }
.job details p { white-space: pre-line; margin-top: 0.625rem; }
@media (max-width: 600px) { .job { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(1.5rem, 5vw, 4.5rem); }
.contact-card dl { margin: 0; display: grid; gap: 1.125rem; }
.contact-card dt { color: var(--muted); font-size: var(--step--1); }
.contact-card dd { margin: 0; font-weight: 600; font-size: 1.1rem; overflow-wrap: anywhere; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.article { max-width: 47.5rem; }
.article__img { border-radius: var(--radius-m); overflow: hidden; margin: 1.5rem 0; }
.article__body p { max-width: none; }
.filters { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: end; margin-bottom: 1.25rem; }
.filters .field { min-width: min(100%, 13.75rem); flex: 1 1 13.75rem; max-width: 22rem; }

/* Projects table → stacked cards on phones (labels come from data-label on each cell) */
@media (max-width: 640px) {
  .table-cards { border: 0; background: transparent; overflow: visible; }
  .table-cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-cards table, .table-cards tbody, .table-cards tr, .table-cards th, .table-cards td { display: block; width: 100%; }
  .table-cards tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 0.75rem 1rem; margin-bottom: 0.75rem; }
  .table-cards th[scope="row"] { padding: 0 0 0.5rem; font-size: 1.05rem; border: 0; }
  .table-cards td { display: flex; justify-content: space-between; gap: 1rem; padding: 0.375rem 0; border: 0; border-top: 1px solid var(--line); text-align: right; }
  .table-cards td::before { content: attr(data-label); color: var(--muted); font-weight: 600; text-align: left; flex-shrink: 0; }
}

/* ---------- Single-page sections ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.section-anchor { scroll-margin-top: 4.5rem; }
.section-head { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-head .bins { margin-bottom: 1rem; }
.section-head h2 { font-size: clamp(1.9rem, 2.4vw + 1rem, 2.8rem); }

.vision-mission { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(2rem, 5vw, 3.5rem);
  padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--river-tint); border-radius: var(--radius-m); }
.vision-mission p { font-size: var(--step-1); line-height: 1.5; margin: 0; }
@media (max-width: 760px) { .vision-mission { grid-template-columns: 1fr; } }

/* Government projects banner with background video */
.gov-banner { position: relative; overflow: hidden; background: var(--river-deep); color: #fff;
  min-height: clamp(20rem, 42vw, 34rem); display: flex; align-items: flex-end; }
.gov-banner__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gov-banner::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4, 36, 69, 0.94) 0%, rgba(4, 36, 69, 0.78) 45%, rgba(4, 36, 69, 0.45) 100%); }
.gov-banner__content { position: relative; z-index: 1; padding-block: clamp(2.5rem, 7vw, 5rem); }
.gov-banner__content h2 { color: #fff; font-size: var(--step-4); max-width: 16ch; }
.gov-banner__content .lead { color: #dbe4ef; }
.gov-banner__kicker { color: var(--marigold); font-weight: 600; margin-bottom: 0.5rem; }
.btn--light { background: #fff; color: var(--river-deep); margin-top: 0.5rem; }
.btn--light:hover { background: var(--marigold); color: var(--river-deep); }
@media (max-width: 560px) {
  .gov-banner::after { background: linear-gradient(180deg, rgba(4, 36, 69, 0.6) 0%, rgba(4, 36, 69, 0.92) 55%); }
}

.term-list--wide { margin-top: 1.5rem; }
@media (min-width: 1100px) { .term-list--wide { grid-template-columns: repeat(3, 1fr); } }
.gov-closing { margin: clamp(2rem, 5vw, 3rem) 0 0; padding: 1.5rem 1.75rem; max-width: none;
  border-left: 4px solid var(--marigold); background: var(--surface); border-radius: 0 var(--radius-m) var(--radius-m) 0;
  box-shadow: inset 0 0 0 1px var(--line); font-size: var(--step-0); }

/* ---- Home: same blocks as the old site ---- */
.video-hero { position: relative; overflow: hidden; background: var(--river-deep); color: #fff;
  min-height: clamp(26rem, 52vw, 42rem); display: flex; align-items: center; }
.video-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4, 36, 69, 0.9) 0%, rgba(4, 36, 69, 0.7) 50%, rgba(4, 36, 69, 0.35) 100%); }
.video-hero__content { position: relative; z-index: 1; padding-block: clamp(3rem, 8vw, 6rem); }
.video-hero__content h1 { color: #fff; max-width: 17ch; }
.video-hero__content .lead { color: #dbe4ef; }
.video-hero .btn--light { margin-top: 0; }
@media (max-width: 560px) {
  .video-hero::after { background: rgba(4, 36, 69, 0.78); }
}

.media-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.media-split__img { width: 100%; height: auto; max-width: 37.5rem; justify-self: center; background: #fff;
  border-radius: var(--radius-m); box-shadow: inset 0 0 0 1px var(--line); }
.media-split--reverse { align-items: start; }
.media-split--reverse .media-split__img { order: 2; }
.media-split h2 { margin-bottom: 0.5rem; }
.kicker-heading { color: var(--wet); font-size: var(--step-1); margin-bottom: 1rem; }
.media-split .btn { margin-top: 0.75rem; }
@media (max-width: 860px) {
  .media-split { grid-template-columns: 1fr; }
  .media-split--reverse .media-split__img { order: 0; max-width: 26rem; }
}

.about-points { padding-left: 1.25rem; display: grid; gap: 1rem; }
.about-points strong { color: var(--river-deep); }
.about-points p { margin: 0.5rem 0 0; }

.center-title { text-align: center; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.activity-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem); max-width: 64rem; margin-inline: auto; }
.activity-grid li { text-align: center; }
.activity-grid img { width: 100%; max-width: 17rem; height: auto; display: block; margin-inline: auto;
  transition: transform 0.25s ease; }
.activity-grid li:hover img { transform: translateY(-0.375rem); }
.activity-grid h3 { margin-top: 1rem; font-size: var(--step-1); }
@media (max-width: 640px) {
  .activity-grid { grid-template-columns: 1fr; max-width: 13rem; }
}
@media (prefers-reduced-motion: reduce) { .activity-grid img { transition: none; } }

.services-band { background: var(--river-deep); color: #dbe4ef; padding-block: clamp(3rem, 7vw, 5rem); }
.services-band h2 { color: #fff; max-width: 22ch; }
.services-band p { max-width: 70ch; }
.services-band__kicker { color: var(--marigold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }

/* ---- PHP version additions ---- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.row-actions form { display: inline; }
.status-form select { min-width: 9rem; }
