/* ── COMMAND & CONTROL · OVERVIEW ─────────────────────────── */
.cco { position: relative; overflow: hidden; padding: 60px 0 140px; }
.cco__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 600px at 78% 12%, rgba(59,130,246,0.10), transparent 60%),
    radial-gradient(700px 500px at 22% 88%, rgba(59,130,246,0.06), transparent 60%); }
.cco .container { position: relative; z-index: 1; }

/* Hero */
.cco__hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.cco__copy h2.cco__title { font-family: var(--font-display); font-size: clamp(36px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -0.025em; color: var(--ink-100); margin: 18px 0 22px; }
.cco__lead { font-size: 17px; line-height: 1.6; color: var(--ink-70); max-width: 560px; margin-bottom: 32px; }
.cco__lead strong { color: var(--ink-100); font-weight: 600; }
.cco__sig { display: flex; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 22px 0; margin-bottom: 24px; }
.cco__sig-item { flex: 1; padding-right: 22px; }
.cco__sig-item + .cco__sig-item { border-left: 1px solid var(--hair); padding-left: 22px; }
.cco__sig-num { font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-100); line-height: 1; }
.cco__sig-lab { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-70); margin-top: 8px; }
.cco__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cco__chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-80); border: 1px solid var(--hair); border-radius: 999px; background: rgba(255,255,255,0.015); }
.cco__chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: cco-dot 1.8s infinite; }
.cco__chip:nth-child(2) .cco__chip-dot { animation-delay: 0.3s; }
.cco__chip:nth-child(3) .cco__chip-dot { animation-delay: 0.6s; }
.cco__chip:nth-child(4) .cco__chip-dot { animation-delay: 0.9s; }
@keyframes cco-dot { 0%,100%{opacity:1;} 50%{opacity:0.4;} }

/* Motion panel (hero right) · animated impact tiles */
.cco__motion { position: relative; padding: 14px; }
.cco__panel { border: 1px solid var(--hair); border-radius: 14px; background: linear-gradient(180deg, rgba(8,13,24,0.96), rgba(8,13,24,0.86)); box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6), 0 0 0 1px rgba(59,130,246,0.10); overflow: hidden; }
.cco__panel-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--hair); background: rgba(255,255,255,0.02); }
.cco__panel-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.cco__panel-dot--r { background: #ff5f57; } .cco__panel-dot--y { background: #febc2e; } .cco__panel-dot--g { background: #28c840; }
.cco__panel-name { margin-left: 12px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-70); }
.cco__panel-pill { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #28c840; border: 1px solid rgba(40,200,64,0.4); border-radius: 999px; padding: 4px 10px; display: inline-flex; align-items: center; gap: 6px; }
.cco__panel-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #28c840; box-shadow: 0 0 8px #28c840; animation: cco-pulse 1.6s infinite; }
@keyframes cco-pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
/* Section heads */
.cco__section-head { margin: 0 0 56px; max-width: 880px; }
.cco__section-head--center { text-align: center; margin-left: auto; margin-right: auto; }

/* Six big impact tiles */
.cco__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 100px; }
.cco__tile { border: 1px solid var(--hair); border-radius: 14px; padding: 28px 24px 30px; background: linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0.005)); transition: transform 240ms cubic-bezier(0.22,1,0.36,1), border-color 240ms ease, background 240ms ease; position: relative; }
.cco__tile:hover { transform: translateY(-4px); border-color: rgba(59,130,246,0.45); background: linear-gradient(180deg, rgba(59,130,246,0.07), rgba(59,130,246,0.015)); }
.cco__tile-ico { width: 44px; height: 44px; border: 1px solid rgba(96,165,250,0.32); border-radius: 10px; background: rgba(59,130,246,0.08); display: inline-flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 18px; }
.cco__tile-ico svg { width: 22px; height: 22px; }
.cco__tile-num { position: absolute; top: 22px; right: 22px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--accent); border: 1px solid rgba(59,130,246,0.4); background: rgba(59,130,246,0.08); border-radius: 4px; padding: 4px 8px; }
.cco__tile h4 { font-family: var(--font-display); font-size: 20px; color: var(--ink-100); margin: 0 0 10px; letter-spacing: -0.005em; line-height: 1.2; }
.cco__tile p { font-size: 14px; line-height: 1.55; color: var(--ink-70); margin: 0; }

/* Smaller value rail (the 10 organizational outcomes) */
.cco__outcomes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--hair); border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, rgba(8,13,24,0.55), rgba(8,13,24,0.3)); margin-bottom: 96px; }
.cco__out { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 18px 22px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); align-items: center; transition: background 220ms ease; }
.cco__out:nth-child(2n) { border-right: 0; }
.cco__out:nth-last-child(-n+2) { border-bottom: 0; }
.cco__out:hover { background: rgba(59,130,246,0.04); }
.cco__out-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; color: var(--accent); border: 1px solid rgba(59,130,246,0.4); background: rgba(59,130,246,0.08); border-radius: 4px; padding: 4px 0; text-align: center; }
.cco__out p { margin: 0; font-size: 14px; color: var(--ink-90); line-height: 1.4; }
.cco__out p b { color: var(--ink-100); font-weight: 500; }

/* Closing band */
.cco__close { border: 1px solid rgba(96,165,250,0.35); border-radius: 14px; padding: 44px 40px; background:
  radial-gradient(800px 400px at 0% 0%, rgba(59,130,246,0.10), transparent 60%),
  linear-gradient(180deg, rgba(8,13,24,0.6), rgba(8,13,24,0.3)); margin-bottom: 32px; }
.cco__close h3 { font-family: var(--font-display); font-size: clamp(26px, 2.8vw, 38px); color: var(--ink-100); margin: 14px 0 0; letter-spacing: -0.02em; line-height: 1.15; }
.cco__close h3 em { font-style: normal; color: var(--accent); }

@media (max-width: 1080px) {
  .cco__hero { grid-template-columns: 1fr; gap: 40px; }
  .cco__tiles { grid-template-columns: repeat(2, 1fr); }
  .cco__outcomes { grid-template-columns: 1fr; }
  .cco__out { border-right: 0; }
  .cco__out:nth-last-child(2) { border-bottom: 1px solid var(--hair); }
}
@media (max-width: 640px) {
  .cco { padding: 40px 0 90px; }
  .cco__tiles { grid-template-columns: 1fr; }
  .cco__sig { flex-wrap: wrap; gap: 20px 0; }
  .cco__sig-item + .cco__sig-item { border-left: 0; padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cco__chip-dot, .cco__mini-tile::before, .cco__panel-pill::before { animation: none !important; }
}

/* ── 3D CITY MOTION GRAPHIC · isometric skyline + alerts ── */
.cco__city { position: relative; aspect-ratio: 4/3; width: 100%; background: linear-gradient(180deg, #07101e 0%, #0b1528 60%, #050a18 100%); overflow: hidden; }
.cco__city svg { display: block; width: 100%; height: 100%; }
.cco__city .face-front { fill: rgba(59,130,246,0.10); stroke: rgba(125,211,252,0.55); stroke-width: 0.9; }
.cco__city .face-right { fill: rgba(59,130,246,0.18); stroke: rgba(125,211,252,0.55); stroke-width: 0.9; }
.cco__city .face-top   { fill: rgba(59,130,246,0.28); stroke: rgba(125,211,252,0.65); stroke-width: 0.9; }
.cco__city .window     { fill: rgba(125,211,252,0.18); stroke: rgba(125,211,252,0.35); stroke-width: 0.3; }
.cco__city .window-lit { fill: rgba(253,224,71,0.55); }
.cco__city .street     { stroke: rgba(125,211,252,0.16); stroke-width: 0.8; fill: none; }
.cco__city .ground     { fill: rgba(8,13,24,0.6); stroke: rgba(125,211,252,0.18); stroke-width: 0.8; }
.cco__city .grid       { stroke: rgba(125,211,252,0.05); stroke-width: 0.5; fill: none; }
.cco__city .alert-dot  { transform-box: fill-box; transform-origin: center; }
.cco__city .alert-ring { fill: none; stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: cco-ring 2.4s ease-out infinite; }
.cco__city .alert-ring--b { animation-delay: 0.4s; }
.cco__city .alert-ring--c { animation-delay: 0.9s; }
.cco__city .alert-ring--d { animation-delay: 1.4s; }
.cco__city .alert-ring--e { animation-delay: 1.8s; }
.cco__city .alert-ring--f { animation-delay: 2.1s; }
@keyframes cco-ring { 0%{transform:scale(0.5);opacity:0.9;} 100%{transform:scale(4.5);opacity:0;} }
.cco__city .alert-tag { font-family: ui-monospace, Menlo, monospace; font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; fill: #cbd5e1; }
.cco__city .alert-tag--em { fill: var(--alert-c, #fda4af); font-weight: 600; }
.cco__city .badge       { fill: rgba(8,13,24,0.94); stroke-width: 1; }
.cco__city .badge-text  { font-family: ui-monospace, Menlo, monospace; font-size: 8.5px; fill: #cbd5e1; letter-spacing: 0.04em; }
.cco__city .badge-kv    { font-family: ui-monospace, Menlo, monospace; font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; }
.cco__city .leader      { stroke: rgba(125,211,252,0.4); stroke-width: 0.8; fill: none; }
.cco__city .stat-card   { fill: rgba(8,13,24,0.92); stroke: rgba(125,211,252,0.3); stroke-width: 0.8; }
.cco__city .stat-k      { font-family: ui-monospace, Menlo, monospace; font-size: 7.5px; letter-spacing: 0.14em; text-transform: uppercase; fill: #94a3b8; }
.cco__city .stat-v      { font-family: var(--font-display); font-size: 16px; font-weight: 600; fill: #f1f5f9; letter-spacing: -0.01em; }
.cco__city .stat-v--alert { fill: #fda4af; }
.cco__city .header-pill { font-family: ui-monospace, Menlo, monospace; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; fill: #93c5fd; }
@media (prefers-reduced-motion: reduce) { .cco__city .alert-ring { animation: none !important; } }

/* ── Impact-map panel · live digital twin ── */
#dt-city { display: block; width: 100%; height: 100%; }
.ccd__photo { display: block; width: 100%; height: auto; border-radius: 14px; }


/* Impact-map panel: contain the twin and all five alert cards.
   The 4/3 aspect-ratio pinned it to 624px and clipped the bottom card. */
.cco__motion .cco__panel { height: auto; }
.cco__city { height: auto !important; aspect-ratio: 16 / 10; min-height: 400px; }
#dt-city { display: block; width: 100%; height: 100%; }


/* Hero: the impact-map panel matches the copy column — same top, same height.
   The twin canvas flexes so the panel never dictates the row height. */
@media (min-width: 1081px) {
  .cco__hero { align-items: stretch; }
  /* The panel is taken out of flow so its content can never drive the row
     height — the copy column sets it, and the panel fills exactly that box. */
  .cco__motion { position: relative; min-height: 100%; }
  .cco__motion .cco__panel {
    position: absolute; inset: 14px;
    height: auto !important; width: auto;
    display: flex; flex-direction: column;
  }
  .cco__city { flex: 1 1 auto; min-height: 0; aspect-ratio: auto !important; }
  #dt-city { width: 100%; height: 100%; }
}


/* ── Deep-content sections (roles, lifecycle, coordination, integration,
      deployment, benchmarks, compliance) ── */
.cco__table { margin: 0 0 72px; }
.cco__tiles--four { grid-template-columns: repeat(4, 1fr); }
.cco__tiles--six  { grid-template-columns: repeat(3, 1fr); }
.cco__tiles--four, .cco__tiles--six { margin-bottom: 72px; }
@media (max-width: 1080px) {
  .cco__tiles--four { grid-template-columns: repeat(2, 1fr); }
  .cco__tiles--six  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .cco__tiles--four, .cco__tiles--six { grid-template-columns: 1fr; }
}
