/* Topology — a cloud portal: subscription bar, hub-and-spoke diagram, blades, deployments. */
:root { --t-font-display: "Inter", system-ui, sans-serif; --t-font-body: "Inter", system-ui, sans-serif; --t-max: 1120px; --t-radius: 6px; --t-radius-sm: 4px; --t-radius-pill: 4px; --t-shadow: 0 1px 2px rgba(0,0,0,.08), 0 2px 8px -4px rgba(0,0,0,.12); }
body { background-image: radial-gradient(color-mix(in srgb, var(--t-text) 7%, transparent) 1px, transparent 1px); background-size: 22px 22px; }

/* subscription bar */
.t-hero--topo .t-hero__inner { grid-template-columns: 1fr; gap: 24px; padding-block: 16px clamp(24px, 4vw, 40px); }
.t-sub { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding: 10px 14px; background: var(--t-surface); border: 1px solid var(--t-line); border-radius: var(--t-radius); font-size: var(--t-size-0); }
.t-sub__item { display: inline-flex; flex-direction: column; gap: 1px; }
.t-sub__k { color: var(--t-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.t-sub__v { font-weight: 600; }
.t-sub__item--ok { flex-direction: row; align-items: center; gap: 6px; margin-inline-start: auto; color: var(--t-accent-text); font-weight: 600; }
.t-sub__item--ok .t-icon { width: 16px; height: 16px; }

/* the diagram (the Topology signature) */
.t-topo { position: relative; display: grid; gap: 14px; }
.t-topo__lines { display: none; }
.t-topo__hub { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 18px; background: var(--t-surface); border: 1px solid var(--t-line); border-radius: 12px; box-shadow: var(--t-shadow); }
.t-topo__hub .t-hero__media { margin: 0; }
.t-hero--topo .t-photo { width: clamp(96px, 12vw, 128px); border-radius: 50%; box-shadow: 0 0 0 4px var(--t-bg), 0 0 0 6px var(--t-accent); }
.t-hero--topo .t-name { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.01em; margin: 6px 0 0; }
.t-hero--topo .t-eyebrow { margin: 0; letter-spacing: .04em; text-transform: none; font-size: var(--t-size-0); }
.t-topo__spokes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.t-topo__spoke { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 10px 12px; background: var(--t-surface); border: 1px solid var(--t-line); border-radius: var(--t-radius); box-shadow: var(--t-shadow); min-width: 0; }
.t-topo__icon { grid-row: span 2; width: 36px; height: 36px; border-radius: 6px; background: var(--t-accent); color: var(--t-on-accent); display: grid; place-items: center; font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.t-topo__spoke strong { font-size: var(--t-size-1); line-height: 1.2; }
.t-topo__list { font-size: var(--t-size-0); color: var(--t-muted); overflow-wrap: anywhere; }
@media (min-width: 760px) {
  .t-topo { display: block; aspect-ratio: 16 / 9; max-height: 560px; min-height: 420px; }
  .t-topo__lines { display: block; position: absolute; inset: 0; width: 100%; height: 100%; stroke: var(--t-accent); stroke-width: 1.5; stroke-dasharray: 4 4; opacity: .7; }
  .t-topo__hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 260px; z-index: 1; }
  .t-topo__spokes { display: block; }
  .t-topo__spoke { position: absolute; transform: translate(-50%, -50%); width: 220px; z-index: 1; }
}
@media (min-width: 1100px) { .t-topo__spoke { width: 240px; } .t-topo { min-height: 500px; } }
.t-topo__below { display: grid; gap: 10px; justify-items: center; text-align: center; }
.t-topo__below .t-headline { font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 500; max-width: 48ch; margin: 0; }
.t-topo__below .t-tagline { max-width: 60ch; }
.t-topo__below .t-meta, .t-topo__below .t-actions, .t-topo__below .t-links { justify-content: center; }
.t-hero--topo .t-hero__inner > .t-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.t-hero--topo .t-stats li { background: var(--t-surface); border: 1px solid var(--t-line); border-radius: var(--t-radius); padding: 12px 14px; border-block-start: 3px solid var(--t-accent); }
.t-hero--topo .t-stats strong { font-weight: 700; }
.btn { --bs-btn-border-radius: 4px; --bs-btn-font-weight: 600; }
.t-link { border-radius: 4px; }

/* blades */
.t-section { background: var(--t-surface); border: 1px solid var(--t-line); border-radius: var(--t-radius); padding: clamp(16px, 2.5vw, 24px); box-shadow: var(--t-shadow); }
.t-main { gap: 16px; }
.t-section__title { font-size: var(--t-size-2); font-weight: 600; border-block-end: 1px solid var(--t-line); padding-block-end: 10px; margin-block-end: 16px; display: flex; align-items: center; gap: 10px; }
.t-section__title::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--t-accent); }
.t-section--summary .t-section__title { display: none; }
.t-summary { font-size: clamp(1.15rem, 2vw, 1.4rem); max-width: 64ch; }
/* deployments */
.t-cards--projects .card { border: 1px solid var(--t-line); box-shadow: none; }
.t-cards--projects .t-card__sub::before { content: "✓ Succeeded · "; color: var(--t-accent-text); font-weight: 600; }
.t-cards--projects .t-item__title { font-weight: 600; }
/* compliance */
.t-section--certifications .t-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 12px; background: var(--t-surface2); border-radius: var(--t-radius-sm); }
.t-section--certifications .t-list li::after { content: "Compliant"; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--t-accent-text); border: 1px solid var(--t-accent); border-radius: 3px; padding: 2px 8px; }
.t-section--certifications .t-list li span { grid-column: 1; }
.t-section--certifications .t-list li p { grid-column: 1 / -1; }
/* resources */
.t-chip { border-radius: 4px; background: var(--t-surface2); padding-inline-start: 6px; }
.t-chip::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--t-accent); }
.t-skillgroup h3 { color: var(--t-text); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: var(--t-size-1); }
.t-timeline__when { font-weight: 600; color: var(--t-text); }
.t-quote { background: var(--t-surface2); border: 0; }
.t-footer { border: 0; }
