/* ==========================================================================
   SPAV Computer Centre — design system "CC Portal" (refined Concept B, rev 2)
   Shared stylesheet for the seven Computer Centre pages. Controlled width (max 1440px); hero with labelled network path; topology feature; 2 × 2 capability grid; permanent left sidebar (rev 5).
   Scoped to .ccp; the global SPAV header, footer and other pages are untouched.
   Type   : Outfit (headings, UI) · DM Sans (text) · DM Mono (status) — self-hosted
   Colour : navy #0B1A30 · ink #111827 · slate #4B5563 · warm paper #F6F4EF
            SPAV gold #EEAB20 (accent only) · neutral line #E7E3DA · green #12B76A
   Sizes are in rem (root 16px) so the site's A− / A / A+ text-size control
   continues to scale them.
   ========================================================================== */

body.ccp-body { background: #F6F4EF !important; }

.ccp {
  --navy: #0B1A30;
  --navy-2: #13294B;
  --ink: #111827;
  --text: #374151;
  --muted: #5F6672;
  --line: #E7E3DA;
  --line-2: #EFECE5;
  --paper: #FAF8F4;
  --gold: #EEAB20;
  --gold-deep: #8C5A00;
  --gold-tint: #FCF3DD;
  --green: #12B76A;
  --r: 14px;
  --shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 6px 20px -12px rgba(17, 24, 39, .12);
  --f-head: 'Outfit', 'DM Sans', system-ui, sans-serif;
  --f-text: 'DM Sans', system-ui, sans-serif;
  --f-mono: 'DM Mono', ui-monospace, monospace;
  width: calc(100% - 64px);
  max-width: 1440px;
  margin: 28px auto 64px;
  font-family: var(--f-text);
  font-size: 1rem;
  color: var(--text);
  line-height: 1.55;
}
.ccp *, .ccp *::before, .ccp *::after { box-sizing: border-box; }
.ccp svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ccp p, .ccp ul { margin: 0; padding: 0; }
.ccp a:focus-visible, .ccp button:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

/* ---------- Shell: sidebar + content ---------- */
.ccp-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; align-items: start; }
.ccp-main { min-width: 0; container-type: inline-size; container-name: ccpmain; }

/* ---------- Sidebar ---------- */
.ccp-side {
  position: sticky;
  top: 136px;
  max-height: calc(100vh - 152px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #2B3F60 transparent;
  display: flex;
  flex-direction: column;
  padding: 18px 12px 14px;
  border-radius: var(--r);
  color: #C5D0DF;
  background:
    radial-gradient(260px 200px at 100% 0%, rgba(238, 171, 32, .10), transparent 70%),
    linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 55%, #081322 100%);
}
.ccp-side__id { display: flex; align-items: center; gap: 12px; padding: 2px 8px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ccp-side__mark { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--gold); color: var(--navy); }
.ccp-side__mark svg { width: 21px; height: 21px; }
html body .ccp p.ccp-side__name { font-family: var(--f-head) !important; font-weight: 700 !important; font-size: 1.02rem !important; line-height: 1.2 !important; color: #fff !important; }
html body .ccp p.ccp-side__sub { margin-top: 2px !important; font-size: .75rem !important; line-height: 1.3 !important; color: #8FA0B6 !important; }
.ccp-side__close { display: none; }
html body .ccp p.ccp-side__label { margin: 16px 10px 8px !important; font-family: var(--f-head) !important; font-weight: 600 !important; font-size: .75rem !important; letter-spacing: .12em; text-transform: uppercase; color: #7F8FA6 !important; }
.ccp-side__list { list-style: none; display: grid; gap: 2px; }
.ccp-side__list li { margin: 0; }
.ccp-side__list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 9px;
  color: #C9D3E0 !important;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: .9rem;
  line-height: 1.3;
  text-decoration: none !important;
  transition: background-color .18s ease, color .18s ease;
}
.ccp-side__list a svg { flex: 0 0 auto; width: 18px; height: 18px; color: #8597B0; transition: color .18s ease, transform .18s ease; }
.ccp-side__list a::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: transparent; transition: background-color .18s ease; }
.ccp-side__list a:hover { background: rgba(255, 255, 255, .06); color: #fff !important; }
.ccp-side__list a:hover svg { color: var(--gold); transform: translateX(1px); }
.ccp-side__list a.is-active { background: rgba(238, 171, 32, .14); color: #fff !important; font-weight: 600; }
.ccp-side__list a.is-active::before { background: var(--gold); }
.ccp-side__list a.is-active svg { color: var(--gold); }
.ccp-side__list a:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
html body .ccp p.ccp-side__status { display: flex; align-items: center; gap: 10px; margin: 18px 4px 0 !important; padding: 12px 10px !important; border-radius: 10px; background: rgba(18, 183, 106, .08); border: 1px solid rgba(18, 183, 106, .22); font-family: var(--f-mono) !important; font-size: .75rem !important; line-height: 1.3 !important; color: #8EE3B6 !important; }

/* top row of the content column */
.ccp-top-row { display: flex; align-items: center; gap: 12px; min-height: 22px; margin-bottom: 12px; }
.ccp-menu-btn { display: none; }
.ccp-crumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; line-height: 1.4; color: var(--muted); }
.ccp-crumb a { color: var(--gold-deep) !important; text-decoration: none !important; font-weight: 600; }
.ccp-crumb a:hover { text-decoration: underline !important; }
.ccp-crumb span[aria-hidden] { color: #BDB6A8; }
.ccp-scrim { display: none; }

/* ---------- Hero ---------- */
.ccp-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
  padding: clamp(28px, 3.2vw, 48px) clamp(24px, 3.4vw, 52px);
  border-radius: var(--r);
  color: #C5D0DF;
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(238, 171, 32, .14), transparent 62%),
    radial-gradient(420px 300px at 0% 100%, rgba(40, 90, 160, .35), transparent 70%),
    linear-gradient(135deg, var(--navy-2) 0%, var(--navy) 62%, #081322 100%);
}
.ccp-hero::before {                 /* fine circuit grid, fades out to the left */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 75%);
          mask-image: linear-gradient(90deg, transparent 20%, #000 75%);
}
.ccp-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold) 0%, rgba(238, 171, 32, .35) 40%, rgba(238, 171, 32, 0) 75%); }
html body .ccp p.ccp-hero__kicker { display: flex; align-items: center; gap: 10px; font-family: var(--f-head) !important; font-weight: 600 !important; font-size: .78rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--gold) !important; }
.ccp-hero__kicker::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
html body .ccp h1.ccp-title {
  margin: 12px 0 0 !important;
  font-family: var(--f-head) !important;
  font-weight: 700 !important;
  font-size: clamp(2.2rem, 3vw, 2.75rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -.025em;
  color: #fff !important;
}
html body .ccp p.ccp-lead { max-width: 40rem; margin-top: 14px !important; font-size: 1.02rem !important; line-height: 1.62 !important; color: #B4C0D1 !important; }
.ccp-hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 24px; }
html body .ccp p.ccp-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px !important;
  border-radius: 999px;
  background: rgba(18, 183, 106, .12);
  border: 1px solid rgba(18, 183, 106, .28);
  color: #75E0A7 !important;
  font-family: var(--f-mono) !important;
  font-size: .75rem !important;
  line-height: 1.4 !important;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.ccp-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.ccp-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(18, 183, 106, .5); animation: ccp-ring 2.6s ease-out infinite; }
@keyframes ccp-ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.ccp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ccp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 8px; font-family: var(--f-head); font-weight: 600; font-size: .88rem; line-height: 1.2; text-decoration: none !important; transition: background-color .18s ease, border-color .18s ease; }
.ccp-btn svg { width: 16px; height: 16px; transition: transform .18s ease; }
.ccp-btn--gold { background: var(--gold); color: #1B1405 !important; }
.ccp-btn--gold:hover { background: #F5BE45; }
.ccp-btn--gold:hover svg { transform: translateX(3px); }
.ccp-btn--line { border: 1px solid rgba(255, 255, 255, .22); color: #E4EAF2 !important; }
.ccp-btn--line:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .05); }

/* key components panel — a conceptual summary, not a network sequence */
.ccp-path { margin: 0; padding: 20px 22px 16px; border-radius: 12px; background: rgba(6, 14, 27, .55); border: 1px solid rgba(255, 255, 255, .09); }
.ccp-path figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--f-head); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: #E3E9F1; }
.ccp-path figcaption em { font-style: normal; padding: 2px 9px; border-radius: 999px; border: 1px solid rgba(238, 171, 32, .45); font-family: var(--f-head); font-weight: 600; font-size: .75rem; letter-spacing: .03em; text-transform: none; color: #F2C35B; }
.ccp-path ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; list-style: none; margin: 0; padding: 0; }
.ccp-path li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.ccp-path li:nth-child(-n+2) { border-top: 0; }
.ccp-path__ico { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: #14284A; border: 1px solid rgba(160, 186, 222, .22); color: #D6E0EC; }
.ccp-path__ico svg { width: 18px; height: 18px; }
.ccp-path__ico--gold { background: rgba(238, 171, 32, .14); border-color: rgba(238, 171, 32, .5); color: var(--gold); }
.ccp-path li b { display: block; font-family: var(--f-head); font-weight: 600; font-size: .97rem; line-height: 1.25; color: #fff; }
.ccp-path li small { display: block; margin-top: 2px; font-size: .86rem; line-height: 1.45; color: #AAB8CB; }
html body .ccp p.ccp-path__note { margin-top: 10px !important; padding-top: 10px !important; border-top: 1px solid rgba(255, 255, 255, .07); font-size: .78rem !important; line-height: 1.5 !important; color: #8796AB !important; }

/* ---------- Statistics: infrastructure highlights ---------- */
.ccp-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.ccp-stat {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "num ico" "lbl lbl" "note note";
  align-content: start;
  padding: 22px 26px 20px;
}
.ccp-stat + .ccp-stat::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 1px; background: var(--line); }
.ccp-stat__ico { grid-area: ico; align-self: start; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #EBD7A6; background: var(--gold-tint); color: var(--gold-deep); }
.ccp-stat__ico svg { width: 18px; height: 18px; }
html body .ccp p.ccp-stat__num { grid-area: num; font-family: var(--f-head) !important; font-weight: 700 !important; font-size: clamp(2rem, 2.6vw, 2.5rem) !important; line-height: 1 !important; letter-spacing: -.035em; color: var(--navy) !important; font-variant-numeric: tabular-nums; }
.ccp-stat__num small { margin-left: 5px; font-size: .42em; font-weight: 600; letter-spacing: 0; color: var(--gold-deep); }
html body .ccp p.ccp-stat__lbl { grid-area: lbl; margin-top: 12px !important; padding-top: 10px !important; border-top: 2px solid var(--gold); justify-self: start; font-family: var(--f-head) !important; font-weight: 600 !important; font-size: .78rem !important; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3 !important; color: var(--ink) !important; }
html body .ccp p.ccp-stat__note { grid-area: note; margin-top: 4px !important; font-size: .84rem !important; line-height: 1.45 !important; color: var(--muted) !important; }

/* ---------- Topology feature ---------- */
.ccp-topo {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  align-items: start;
  margin-top: 14px;
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ccp-topo__fig { margin: 0; display: flex; flex-direction: column; background: #EEF1F5; border-right: 1px solid var(--line-2); }
.ccp-topo__open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.ccp-topo__open img { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 690; transition: opacity .2s ease; }
.ccp-topo__open:hover img { opacity: .94; }
.ccp-topo__open:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.ccp-topo__fig figcaption { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: #fff; border-top: 1px solid var(--line-2); font-family: var(--f-head); font-size: .82rem; font-weight: 500; color: var(--muted); }
.ccp-topo__fig figcaption svg { width: 15px; height: 15px; color: var(--gold-deep); }

/* lightbox */
html.ccp-lb-open { overflow: hidden; }
.ccp-lightbox { position: fixed; inset: 0; z-index: 10000; display: flex; flex-direction: column; background: rgba(6, 12, 22, .92); }
.ccp-lightbox[hidden] { display: none; }
.ccp-lightbox__bar { display: flex; align-items: center; gap: 16px; padding: 12px 18px; color: #fff; font-family: 'Outfit', 'DM Sans', system-ui, sans-serif; }
.ccp-lightbox__bar span { font-weight: 600; font-size: 1rem; }
.ccp-lightbox__bar a { margin-left: auto; color: #F2C35B !important; font-weight: 600; font-size: .9rem; }
.ccp-lightbox__close { width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px; background: transparent; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.ccp-lightbox__close:hover { background: rgba(255, 255, 255, .08); }
.ccp-lightbox a:focus-visible, .ccp-lightbox__close:focus-visible { outline: 2px solid #EEAB20; outline-offset: 2px; }
.ccp-lightbox__stage { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 8px 18px 24px; overflow: auto; }
.ccp-lightbox__stage img { display: block; width: min(100%, calc((100vh - 110px) * 1.484)); height: auto; aspect-ratio: 1024 / 690; border-radius: 6px; }

.ccp-topo__text { display: flex; flex-direction: column; padding: clamp(24px, 2.8vw, 40px); }
html body .ccp p.ccp-topo__desc { margin-top: 12px !important; font-size: .92rem !important; line-height: 1.65 !important; color: var(--text) !important; }
.ccp-topo__list { margin: 18px 0 0; }
.ccp-topo__list > div { padding: 12px 0; border-top: 1px solid var(--line-2); }
.ccp-topo__list dt { font-family: var(--f-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.ccp-topo__list dd { margin: 3px 0 0; font-size: .84rem; line-height: 1.5; color: var(--muted); }
.ccp-link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; padding-top: 16px; font-family: var(--f-head); font-weight: 600; font-size: .9rem; color: var(--gold-deep) !important; text-decoration: none !important; }
.ccp-link svg { width: 16px; height: 16px; transition: transform .18s ease; }
.ccp-link:hover { text-decoration: underline !important; }
.ccp-link:hover svg { transform: translateX(3px); }

/* ---------- Capabilities ---------- */
.ccp-cap { margin-top: 14px; padding: clamp(26px, 3vw, 44px); background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.ccp-cap__head { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, 4vw, 64px); align-items: start; padding-bottom: clamp(22px, 2.4vw, 32px); margin-bottom: clamp(26px, 2.8vw, 36px); border-bottom: 1px solid var(--line); }
html body .ccp p.ccp-kicker { margin-bottom: 8px !important; font-family: var(--f-head) !important; font-weight: 600 !important; font-size: .75rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep) !important; }
html body .ccp h2.ccp-h2 { margin: 0 !important; font-family: var(--f-head) !important; font-weight: 700 !important; font-size: clamp(1.5rem, 1.9vw, 1.8rem) !important; line-height: 1.18 !important; letter-spacing: -.02em; color: var(--ink) !important; }
html body .ccp p.ccp-cap__intro { font-size: .92rem !important; line-height: 1.7 !important; color: var(--text) !important; }

/* 2 × 2 categories; each takes the height of its own content */
.ccp-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; align-items: start; }
.ccp-group { min-width: 0; container-type: inline-size; container-name: ccpgroup; }
.ccp-group__head { display: flex; align-items: flex-start; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--navy); }
.ccp-group__ico { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 11px; background: var(--navy); color: var(--gold); }
.ccp-group__ico svg { width: 23px; height: 23px; }
html body .ccp p.ccp-group__idx { font-family: var(--f-mono) !important; font-size: .75rem !important; letter-spacing: .04em; color: var(--gold-deep) !important; }
html body .ccp .ccp-group h3 { margin: 3px 0 0 !important; font-family: var(--f-head) !important; font-weight: 700 !important; font-size: 1.16rem !important; line-height: 1.3 !important; color: var(--ink) !important; }
html body .ccp p.ccp-group__desc { margin-top: 3px !important; font-size: .9rem !important; line-height: 1.5 !important; color: var(--muted) !important; }
.ccp-group__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; list-style: none; }
.ccp-group__list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 15px 0 14px; border-bottom: 1px solid var(--line-2); }
.ccp-fi { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; margin-top: 1px; border-radius: 9px; background: var(--paper); border: 1px solid var(--line-2); color: var(--navy); transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.ccp-fi svg { width: 17px; height: 17px; }
.ccp-group__list li:hover .ccp-fi { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.ccp-ft strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: .94rem; line-height: 1.35; color: var(--ink); }
.ccp-ft span { display: block; margin-top: 4px; font-size: .88rem; line-height: 1.55; color: #525A66; }

/* ==========================================================================
   Inner-page components (Network, Hardware, Software, Staff, Downloads, Projects)
   ========================================================================== */
.ccp .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ccp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* page hero: text + figures */
.ccp-hero--page { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.ccp-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-radius: 12px; overflow: hidden; background: rgba(6, 14, 27, .55); border: 1px solid rgba(255, 255, 255, .09); }
.ccp-figs > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 18px 20px; }
.ccp-figs > div:nth-child(2n) { border-left: 1px solid rgba(255, 255, 255, .08); }
.ccp-figs > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
.ccp-figs dd { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.7rem, 2.2vw, 2.2rem); line-height: 1; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.ccp-figs dt { margin-top: 8px; padding-top: 8px; border-top: 2px solid var(--gold); align-self: flex-start; font-family: var(--f-head); font-weight: 500; font-size: .84rem; line-height: 1.35; color: #B4C0D1; }

/* compact hero (pages without figures) */
.ccp-hero--compact { grid-template-columns: minmax(0, 1fr) auto; }
html body .ccp p.ccp-count { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 170px; padding: 20px 26px !important; border-radius: 12px; background: rgba(6, 14, 27, .55); border: 1px solid rgba(255, 255, 255, .09); text-align: center; }
.ccp-count b { font-family: var(--f-head); font-weight: 700; font-size: 2.6rem; line-height: 1; color: #fff; }
.ccp-count span { margin-top: 8px; padding-top: 8px; border-top: 2px solid var(--gold); font-family: var(--f-head); font-size: .84rem; font-weight: 500; color: #B4C0D1; }

/* generic white section */
.ccp-panel { margin-top: 14px; padding: clamp(24px, 2.8vw, 40px); background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.ccp-panel__head { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, 4vw, 64px); align-items: start; padding-bottom: clamp(20px, 2.2vw, 28px); margin-bottom: clamp(20px, 2.2vw, 28px); border-bottom: 1px solid var(--line); }
html body .ccp p.ccp-panel__intro { font-size: .94rem !important; line-height: 1.7 !important; color: var(--text) !important; }
.ccp-btn--navy { background: var(--navy); color: #fff !important; border: 0; cursor: pointer; }
.ccp-btn--navy svg { color: var(--gold); }
.ccp-btn--navy:hover { background: #13294B; }

/* feature chips */
.ccp-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; list-style: none; }
.ccp-chips--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ccp-chips li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line-2); font-family: var(--f-head); font-weight: 600; font-size: .92rem; line-height: 1.35; color: var(--ink); transition: border-color .18s ease, background-color .18s ease; }
.ccp-chips li:hover { background: #fff; border-color: #E2D3AE; }
.ccp-chips li:hover .ccp-fi { background: var(--navy); border-color: var(--navy); color: var(--gold); }

/* information strip */
.ccp-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: 18px; padding: 14px 18px; border-radius: 10px; background: var(--gold-tint); border: 1px solid #EBD7A6; }
.ccp-note__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--gold-deep); }
.ccp-note__ico svg { width: 17px; height: 17px; }
html body .ccp .ccp-note p { font-size: .92rem !important; line-height: 1.5 !important; color: #4A3A1C !important; }
.ccp-note strong { color: var(--gold-deep); }

/* network diagram */
.ccp-diagram__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 20px; }
html body .ccp p.ccp-diagram__lead { max-width: 44rem; margin-top: 8px !important; font-size: .94rem !important; line-height: 1.6 !important; color: var(--text) !important; }
.ccp-legend { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.ccp-legend li { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-family: var(--f-head); font-size: .82rem; font-weight: 500; color: var(--ink); }
.ccp-legend i { display: inline-block; width: 22px; height: 3px; border-radius: 2px; }
.ccp-legend .l-fiber { background: #E8A23A; }
.ccp-legend .l-eth { background: #2AA8A0; }
.ccp-legend .l-vpn { background: #94A3B8; }
.ccp-legend .l-fail { background: repeating-linear-gradient(90deg, #E57A2E 0 5px, transparent 5px 8px); }
.ccp-diagram__fig { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #EEF1F5; }
.ccp-diagram__fig figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 16px; background: #fff; border-top: 1px solid var(--line-2); font-family: var(--f-head); font-size: .9rem; font-weight: 500; color: var(--text); }
.ccp-diagram .ccp-topo__open img { aspect-ratio: 1024 / 690; }

/* block cards */
.ccp-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.ccp-block { padding: 24px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.ccp-block__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--navy); color: var(--gold); }
.ccp-block__ico svg { width: 22px; height: 22px; }
html body .ccp .ccp-block h3 { margin: 14px 0 10px !important; font-family: var(--f-head) !important; font-weight: 700 !important; font-size: 1.1rem !important; line-height: 1.3 !important; color: var(--ink) !important; }
.ccp-block ul { list-style: none; }
.ccp-block li { position: relative; margin: 0; padding: 8px 0 8px 18px; border-top: 1px solid var(--line-2); font-size: .92rem; line-height: 1.45; color: var(--text); }
.ccp-block li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 2px; background: var(--gold); }

/* hardware labs + tables */
.ccp-lab { margin-top: 14px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.ccp-lab__head { display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.ccp-lab__ico { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: var(--gold); }
.ccp-lab__ico svg { width: 20px; height: 20px; }
html body .ccp .ccp-lab h2 { margin: 0 !important; font-family: var(--f-head) !important; font-weight: 700 !important; font-size: 1.15rem !important; line-height: 1.3 !important; color: var(--ink) !important; }
.ccp-pill { margin-left: auto; flex: 0 0 auto; padding: 5px 12px; border-radius: 999px; background: var(--gold-tint); border: 1px solid #EBD7A6; font-family: var(--f-head); font-weight: 600; font-size: .82rem; color: var(--gold-deep); }
.ccp-table-wrap { overflow-x: auto; }
.ccp-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.ccp-table th, .ccp-table td { padding: 14px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); line-height: 1.55; color: var(--text); }
.ccp-table thead th { background: var(--paper); font-family: var(--f-head); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ccp-table td[data-label="System Model"] { width: 26%; font-family: var(--f-head); font-weight: 600; color: var(--ink); }
.ccp-table td[data-label="S.No"], .ccp-table th:first-child { width: 72px; }
.ccp-table td[data-label="Quantity"], .ccp-table td[data-label="Total"] { width: 110px; text-align: right; font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.ccp-table--qty thead th:last-child { text-align: right; }
.ccp-table tbody tr:hover td { background: #FCFAF6; }
.ccp-total th, .ccp-total td { background: var(--gold-tint); border-bottom: 0; }
.ccp-total th { text-align: right !important; font-family: var(--f-head); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.ccp-total td { color: var(--gold-deep) !important; font-size: 1.2rem !important; }
.ccp-spec { display: grid; gap: 4px; margin: 0; }
.ccp-spec > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 10px; }
.ccp-spec dt { font-family: var(--f-head); font-weight: 600; font-size: .86rem; color: var(--ink); }
.ccp-spec dd { margin: 0; font-size: .92rem; color: var(--text); }
html body .ccp p.ccp-footnote { margin-top: 14px !important; padding: 0 4px; font-size: .84rem !important; color: var(--muted) !important; }

/* software tabs + catalogue */
.ccp-cat-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.ccp-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-2); }
.ccp-tabs [role="tab"] { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 9px; background: transparent; font-family: var(--f-head); font-weight: 600; font-size: .92rem; color: var(--text); cursor: pointer; transition: background-color .18s ease, color .18s ease; }
.ccp-tabs [role="tab"] svg { width: 17px; height: 17px; color: var(--muted); }
.ccp-tabs [role="tab"]:hover { background: #fff; color: var(--ink); }
.ccp-tabs [role="tab"][aria-selected="true"] { background: var(--navy); color: #fff; }
.ccp-tabs [role="tab"][aria-selected="true"] svg { color: var(--gold); }
.ccp-tabs__n { padding: 1px 8px; border-radius: 999px; background: rgba(0, 0, 0, .06); font-size: .78rem; }
.ccp-tabs [aria-selected="true"] .ccp-tabs__n { background: rgba(238, 171, 32, .25); color: #F5D58C; }
.ccp-tabs [role="tab"]:focus-visible, .ccp-tabpanel:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.ccp-tabpanel[hidden] { display: none; }
html body .ccp .ccp-tabpanel__t { margin: 0 0 14px !important; font-family: var(--f-head) !important; font-weight: 600 !important; font-size: 1rem !important; color: var(--ink) !important; }
.ccp-catalogue { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; list-style: none; }
.ccp-catalogue li { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; transition: border-color .18s ease; }
.ccp-catalogue li:hover { border-color: #E2D3AE; }
.ccp-catalogue__name { font-family: var(--f-head); font-weight: 600; font-size: .94rem; line-height: 1.3; color: var(--ink); }
.ccp-badge { flex: 0 0 auto; padding: 3px 9px; border-radius: 999px; background: #E8F7EF; color: #127A48; font-family: var(--f-head); font-weight: 600; font-size: .75rem; }

/* staff */
.ccp-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ccp-person { display: flex; gap: 20px; align-items: flex-start; padding: 22px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-2); transition: border-color .18s ease, background-color .18s ease; }
.ccp-person:hover { background: #fff; border-color: #E2D3AE; }
.ccp-person__photo { flex: 0 0 auto; width: 100px; height: 124px; object-fit: cover; object-position: center top; border-radius: 12px; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line), 0 8px 18px -12px rgba(17, 24, 39, .5); background: #E9EDF2; }
.ccp-person__body { min-width: 0; }
.ccp-person__badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--navy); color: #F5D58C; font-family: var(--f-head); font-weight: 600; font-size: .75rem; letter-spacing: .03em; }
html body .ccp .ccp-person h3 { margin: 8px 0 0 !important; font-family: var(--f-head) !important; font-weight: 700 !important; font-size: 1.14rem !important; line-height: 1.3 !important; color: var(--ink) !important; }
html body .ccp p.ccp-person__role { margin-top: 2px !important; font-family: var(--f-head) !important; font-weight: 600 !important; font-size: .9rem !important; color: var(--gold-deep) !important; }
html body .ccp p.ccp-person__qual { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px !important; font-size: .9rem !important; line-height: 1.5 !important; color: var(--text) !important; }
.ccp-person__qual svg, .ccp-person__contact svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px; color: var(--gold-deep); }
.ccp-person__contact { display: grid; gap: 6px; margin-top: 12px !important; padding-top: 12px !important; border-top: 1px solid var(--line); list-style: none; }
.ccp-person__contact li { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: .9rem; line-height: 1.45; color: var(--text); overflow-wrap: anywhere; }

/* downloads */
.ccp-files { display: grid; gap: 10px; list-style: none; }
.ccp-file { display: flex; align-items: center; gap: 16px; margin: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); transition: border-color .18s ease, background-color .18s ease; }
.ccp-file:hover { background: #fff; border-color: #E2D3AE; }
.ccp-file__ico { position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 50px; height: 56px; border-radius: 10px; background: var(--navy); color: var(--gold); }
.ccp-file__ico svg { width: 22px; height: 22px; margin-top: -8px; }
.ccp-file__ico b { position: absolute; bottom: 4px; font-family: var(--f-head); font-size: .75rem; letter-spacing: .02em; color: #fff; }
.ccp-file__text { min-width: 0; flex: 1 1 auto; }
.ccp-file__text strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: 1rem; line-height: 1.35; color: var(--ink); }
.ccp-file__text small { display: block; margin-top: 2px; font-size: .86rem; color: var(--muted); }
.ccp-file .ccp-btn { flex: 0 0 auto; }
.ccp-file.is-missing { opacity: .75; }
.ccp-file.is-missing .ccp-file__ico { background: #6B7280; color: #fff; }

/* projects */
.ccp-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 14px; list-style: none; counter-reset: none; }
.ccp-project { position: relative; display: flex; flex-direction: column; margin: 0; padding: 22px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-2); transition: border-color .18s ease, background-color .18s ease, transform .18s ease; }
.ccp-project:hover { background: #fff; border-color: #E2D3AE; transform: translateY(-2px); }
.ccp-project__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 11px; background: var(--navy); color: var(--gold); }
.ccp-project__ico svg { width: 23px; height: 23px; }
.ccp-project__n { position: absolute; top: 22px; right: 22px; font-family: var(--f-mono); font-size: .8rem; color: var(--gold-deep); }
html body .ccp .ccp-project h3 { margin: 16px 0 0 !important; font-family: var(--f-head) !important; font-weight: 700 !important; font-size: 1.04rem !important; line-height: 1.35 !important; color: var(--ink) !important; }
html body .ccp .ccp-project p { margin-top: 6px !important; font-size: .88rem !important; line-height: 1.5 !important; font-style: italic; color: var(--muted) !important; }

/* ---------- Responsive: page shell (viewport) ---------- */
@media (max-width: 1280px) {
  .ccp-shell { grid-template-columns: 220px minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 1100px) {
  .ccp-shell { grid-template-columns: 200px minmax(0, 1fr); gap: 16px; }
  .ccp-side { padding: 14px 8px 12px; }
  .ccp-side__list a { padding: 9px 10px; gap: 9px; font-size: .86rem; }
}
@media (max-width: 1024px) {
  .ccp { width: calc(100% - 40px); margin-top: 18px; }
}
@media (max-width: 768px) {
  .ccp { width: calc(100% - 32px); }
  .ccp-shell { grid-template-columns: minmax(0, 1fr); }
  .ccp-side {
    position: fixed; z-index: 100001; top: 0; left: 0; bottom: 0;
    width: min(300px, 86vw); max-height: none; border-radius: 0 16px 16px 0;
    padding: 18px 12px; transform: translateX(-105%); visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  }
  .ccp-side.is-open { transform: none; visibility: visible; transition: transform .25s ease; }
  .ccp-side__close { display: grid; place-items: center; margin-left: auto; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 9px; background: transparent; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
  .ccp-side__close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
  .ccp-side__list a { padding: 12px 12px; font-size: .95rem; }
  .ccp-scrim { display: block; position: fixed; inset: 0; z-index: 100000; background: rgba(6, 12, 22, .55); }
  .ccp-scrim[hidden] { display: none; }
  html.ccp-drawer-open { overflow: hidden; }
  .ccp-top-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .ccp-menu-btn {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px 10px 14px;
    border: 0; border-radius: 12px; background: var(--navy); color: #fff; text-align: left; cursor: pointer;
    font-family: var(--f-head);
  }
  .ccp-menu-btn > svg { width: 20px; height: 20px; color: var(--gold); flex: 0 0 auto; }
  .ccp-menu-btn span { display: flex; flex-direction: column; font-weight: 600; font-size: .98rem; line-height: 1.2; }
  .ccp-menu-btn small { font-weight: 500; font-size: .75rem; color: #9FB0C6; }
  .ccp-menu-btn b { margin-left: auto; padding: 6px 12px; border-radius: 8px; background: rgba(255, 255, 255, .1); font-weight: 600; font-size: .85rem; }
  .ccp-menu-btn:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
}
@media (max-width: 480px) {
  .ccp { width: calc(100% - 24px); margin-top: 12px; }
  .ccp-lightbox__bar span { display: none; }
  .ccp-lightbox__stage { padding: 8px; }
}

/* ---------- Responsive: content sections (width of the content column) ---------- */
@container ccpmain (max-width: 1100px) {
  .ccp-topo { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .ccp-groups { gap: 36px 32px; }
}
@container ccpmain (max-width: 900px) {
  .ccp-hero { grid-template-columns: minmax(0, 1fr); }
  .ccp-path ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ccp-path li:nth-child(3) { border-top: 0; }
  .ccp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ccp-stat:nth-child(3)::before { display: none; }
  .ccp-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ccp-cap__head { grid-template-columns: minmax(0, 1fr); }
  .ccp-groups { grid-template-columns: minmax(0, 1fr); }
}
@container ccpmain (max-width: 820px) {
  .ccp-topo { grid-template-columns: minmax(0, 1fr); }
  .ccp-topo__fig { border-right: 0; }
}
@container ccpmain (max-width: 700px) {
  .ccp-path ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ccp-path li:nth-child(3) { border-top: 1px solid rgba(255, 255, 255, .07); }
}
@container ccpmain (max-width: 460px) {
  .ccp-hero__row { flex-direction: column; align-items: flex-start; }
  .ccp-path ul { grid-template-columns: minmax(0, 1fr); }
  .ccp-path li:nth-child(2) { border-top: 1px solid rgba(255, 255, 255, .07); }
  .ccp-stat { padding: 18px 16px 16px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "ico" "num" "lbl" "note"; }
  .ccp-stat__ico { margin-bottom: 10px; }
  html body .ccp p.ccp-stat__num { font-size: 1.9rem !important; }
  html body .ccp p.ccp-stat__lbl { font-size: .75rem !important; letter-spacing: .05em; }
}
/* features inside a category: two columns while the category is wide enough */
@container ccpgroup (max-width: 430px) {
  .ccp-group__list { grid-template-columns: minmax(0, 1fr); }
}
/* inner pages — responsive by content-column width */
@container ccpmain (max-width: 1100px) {
  .ccp-chips--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container ccpmain (max-width: 900px) {
  .ccp-hero--page { grid-template-columns: minmax(0, 1fr); }
  .ccp-figs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ccp-figs > div:nth-child(n) { border-left: 1px solid rgba(255, 255, 255, .08); border-top: 0; }
  .ccp-figs > div:first-child { border-left: 0; }
  .ccp-panel__head { grid-template-columns: minmax(0, 1fr); }
  .ccp-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ccp-blocks { grid-template-columns: minmax(0, 1fr); }
  .ccp-people { grid-template-columns: minmax(0, 1fr); }
}
@container ccpmain (max-width: 640px) {
  .ccp-hero--compact { grid-template-columns: minmax(0, 1fr); }
  html body .ccp p.ccp-count { flex-direction: row; justify-content: flex-start; gap: 12px; min-width: 0; padding: 12px 16px !important; }
  .ccp-count span { margin: 0; padding: 0 0 0 12px; border-top: 0; border-left: 2px solid var(--gold); }
  .ccp-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ccp-figs > div:nth-child(odd) { border-left: 0; }
  .ccp-figs > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
  .ccp-chips, .ccp-chips--4 { grid-template-columns: minmax(0, 1fr); }
  /* tables become stacked records */
  .ccp-table thead { display: none; }
  .ccp-table, .ccp-table tbody, .ccp-table tfoot, .ccp-table tr, .ccp-table td, .ccp-table th { display: block; width: auto !important; }
  .ccp-table tr { padding: 10px 18px; border-bottom: 1px solid var(--line); }
  .ccp-table td, .ccp-table th { padding: 6px 0 !important; border: 0; text-align: left !important; }
  .ccp-table td::before { content: attr(data-label); display: block; font-family: var(--f-head); font-weight: 600; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .ccp-total { display: flex !important; align-items: center; justify-content: space-between; }
  .ccp-total td::before { display: none; }
  .ccp-spec > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ccp-lab__head { flex-wrap: wrap; padding: 16px 18px; }
  .ccp-person { flex-direction: column; align-items: center; text-align: center; }
  .ccp-person__qual, .ccp-person__contact li { justify-content: center; }
  .ccp-file { flex-wrap: wrap; }
  .ccp-file__text { flex: 1 1 calc(100% - 70px); }
  .ccp-lab__head .ccp-pill { margin-left: 54px; }
  .ccp-file .ccp-btn { width: 100%; justify-content: center; }
  .ccp-cat-head { flex-direction: column; align-items: stretch; }
  .ccp-tabs { display: flex; }
  .ccp-tabs [role="tab"] { flex: 1 1 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ccp *, .ccp *::before, .ccp *::after { animation: none !important; transition: none !important; } }
@media print {
  .ccp-side, .ccp-top-row, .ccp-actions { display: none; }
  .ccp-shell { grid-template-columns: 1fr; }
  .ccp-hero { background: #fff; color: #000; }
  html body .ccp h1.ccp-title { color: #000 !important; }
}
