/* Internal functional-flow orientation page presentation boundary. */

.aboutFlowWrap {
  max-width: 1480px;
}

.aboutHero {
  border-radius: 0 0 28px 28px;
}

.aboutBackLink {
  text-decoration: none;
}

.aboutHero .lockup {
  flex: 0 0 auto;
  min-width: 0;
}

.aboutHero .wwtLogo {
  display: block;
  width: 72px;
  max-width: 100%;
  height: auto;
}

.aboutHeroGrid {
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, .7fr);
}

.aboutThesis {
  align-self: stretch;
  display: grid;
  align-content: center;
}

.aboutFlowMain {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: 24px clamp(12px, 2vw, 28px) 42px;
}

.aboutSection {
  margin: 0;
}

.flowRail {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.flowRail article,
.logicNode,
.sixRGrid article,
.horizonBar article,
.consultantCards article {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--sm);
}

.flowRail article {
  position: relative;
  padding: 16px 14px;
  min-height: 164px;
}

.flowRail article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 10px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.flowRail span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--navy2));
  font-size: 12px;
  font-weight: 700;
}

.flowRail h3,
.consultantCards h3 {
  margin: 12px 0 8px;
  color: var(--navy);
}

.flowRail p,
.logicNode span,
.sixRGrid p,
.horizonBar p,
.consultantCards p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.logicMap {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.logicNode {
  position: relative;
  padding: 18px;
  min-height: 142px;
  background: linear-gradient(180deg, #fff, #f7fbff);
}

.logicNode:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 48%;
  width: 12px;
  height: 3px;
  background: var(--cyan);
}

.logicNode strong,
.sixRGrid b,
.horizonBar strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 8px;
}

.logicNode.input {
  border-left: 5px solid var(--blue);
}

.logicNode.output {
  border-left: 5px solid var(--r4);
}


.sixRGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.sixRGrid article {
  padding: 18px;
  border-top: 5px solid var(--blue);
}

.sixRGrid article:nth-child(2) {
  border-top-color: var(--cyan);
}

.sixRGrid article:nth-child(3) {
  border-top-color: var(--r4);
}

.sixRGrid article:nth-child(4) {
  border-top-color: var(--r2);
}

.horizonBar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(90deg, #d9f6ff, #63cbef 34%, #297ce3 66%, #132b80);
  padding-top: 12px;
}

.horizonBar article {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 162px;
  padding: 18px;
  background: rgba(255, 255, 255, .94);
  border-right: 1px solid var(--line);
}

.horizonBar article:last-child {
  border-right: 0;
}

.horizonBar span {
  display: inline-flex;
  color: #fff;
  background: var(--navy);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.consultantCards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.consultantCards article {
  padding: 18px;
}

@media (max-width: 1180px) {
  .flowRail,
  .logicMap,
  .sixRGrid,
  .horizonBar,
  .consultantCards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flowRail article:not(:last-child)::after,
  .logicNode:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .aboutHeroGrid,
  .flowRail,
  .logicMap,
  .sixRGrid,
  .horizonBar,
  .consultantCards {
    grid-template-columns: 1fr;
  }
}

.peopleCapacityCard {
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: var(--sm);
}

.peopleCapacityCard > .cardHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.peopleCapacityCard > .cardHead h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 19px;
  letter-spacing: -.025em;
}

.peopleCapacityCard > .cardHead p {
  margin: 0;
  color: var(--muted);
  font-size: 14.3px;
  line-height: 1.55;
  text-wrap: pretty;
}

.teamStructureSection,
.platformSkillsSection,
.supportTierSection {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.teamStructureSection h3,
.platformSkillsSection h3,
.supportTierSection h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.teamStructureGroup {
  margin-bottom: 16px;
}

.teamStructureGroup h4 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 14.5px;
}

.teamMission {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.teamRoleGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* Shared collapsible-card behavior for People Capacity: every reference
   card in this section (team roles, skills, support tiers, hiring zones,
   impact levels) is a <details>/<summary> pair, collapsed by default, so
   the section stays scannable by title without losing the underlying
   depth on click. */
.pcSummary {
  list-style: none;
  cursor: pointer;
}

.pcSummary::-webkit-details-marker,
.pcSummary::marker {
  display: none;
  content: "";
}

.pcToggle {
  flex: none;
  align-self: center;
  border: 5px solid transparent;
  border-left-color: var(--muted);
  transition: transform .15s ease;
}

.pcCollapsible[open] .pcToggle {
  transform: rotate(90deg);
}

.teamRoleCard {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 13px;
  background: var(--soft);
  display: grid;
  gap: 5px;
}

.teamRoleCard h4 {
  margin: 0;
  color: var(--navy);
  font-size: 13.5px;
}

.teamRoleCardHead {
  display: flex;
  align-items: center;
  gap: 8px;
}

.teamRoleCard .pcBody {
  display: grid;
  gap: 5px;
}

.teamRoleAlt {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-style: italic;
}

.teamRoleCard .pcBody > p:not(.teamRoleAlt):not(.teamRoleSkills):not(.teamRoleCerts) {
  margin: 0;
  color: #33445e;
  font-size: 12.5px;
  line-height: 1.4;
}

.teamRoleSkills,
.teamRoleCerts {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.teamRoleSkills b,
.teamRoleCerts b {
  color: var(--navy);
}

.teamRoleSkillList {
  margin: 2px 0;
  padding-left: 16px;
  display: grid;
  gap: 3px;
}

.teamRoleSkillList li {
  font-size: 12px;
  color: #33445e;
  line-height: 1.4;
}

.teamDiagram {
  margin-bottom: 18px;
}

.teamDiagram svg {
  width: 100%;
  height: auto;
  display: block;
}

.teamAppBox {
  fill: #fff;
  stroke: var(--line);
  stroke-width: 1;
}

.teamAppLabel {
  fill: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.teamConnector {
  stroke: var(--line);
  stroke-width: 2;
  fill: none;
}

marker#teamDiagramArrow path {
  fill: var(--line);
}

.teamGroupBox {
  fill: var(--soft);
  stroke: rgba(23, 103, 232, .25);
  stroke-width: 1.5;
}

.teamGroupBoxFoundation {
  fill: #fff;
  stroke: var(--line);
}

.teamGroupLabel {
  fill: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.teamChip {
  fill: #fff;
  stroke: var(--line);
  stroke-width: 1;
}

.teamChipLabel {
  fill: #33445e;
  font-size: 11px;
  font-weight: 700;
}

.teamDiagramCaption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-style: italic;
  line-height: 1.4;
}

.teamStructureSource {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.4;
}

.teamStructureSource a {
  color: var(--blue);
}

.platformFraming {
  margin: 0 0 10px;
  color: #33445e;
  font-size: 12.5px;
  line-height: 1.45;
}

.platformFraming a {
  color: var(--blue);
}

.platformSkillGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.platformSkillCard {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 13px;
  background: #fff;
  display: grid;
  gap: 5px;
}

.platformSkillCard h4 {
  margin: 0;
  color: var(--navy);
  font-size: 13px;
}

.platformSkillCardHead {
  display: flex;
  align-items: center;
  gap: 8px;
}

.platformSkillCard p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.supportTierGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 10px;
}

.supportTierCard {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  background: var(--soft);
  display: grid;
  gap: 6px;
}

.supportTierCardHead {
  display: flex;
  align-items: center;
  gap: 8px;
}

.supportTierCard .pcBody {
  display: grid;
  gap: 6px;
}

.supportTierBadge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.supportTierCard h4 {
  margin: 0;
  color: var(--navy);
  font-size: 13.5px;
}

.supportTierCard .pcBody > p {
  margin: 0;
  color: #33445e;
  font-size: 12.5px;
  line-height: 1.4;
}

.supportTierOwner,
.supportTierBenchmark {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.4;
}

.supportTierOwner b {
  color: var(--navy);
}

.hiringZoneSection,
.impactLevelSection {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.hiringZoneSection h3,
.impactLevelSection h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.hiringZoneGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 10px;
}

.hiringZoneCard {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 13px;
  background: var(--soft);
  display: grid;
  gap: 6px;
}

.hiringZoneCardHead {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hiringZoneCardHeadText {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hiringZoneCard .pcBody {
  display: grid;
  gap: 6px;
}

.hiringZoneCard h4 {
  margin: 0;
  color: var(--navy);
  font-size: 13.5px;
}

.hiringZoneTag {
  display: inline-flex;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(23, 103, 232, .12);
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.hiringZoneCard .pcBody > p {
  margin: 0;
  color: #33445e;
  font-size: 12px;
  line-height: 1.4;
}

.impactLevelGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 10px;
}

.impactLevelCard {
  border: 1px solid rgba(23, 103, 232, .3);
  border-radius: 10px;
  padding: 14px 15px;
  background: var(--soft);
  display: grid;
  gap: 5px;
}

.impactLevelCardRestricted {
  border-color: rgba(214, 69, 69, .35);
  background: #fdf4f4;
}

.impactLevelCardHead {
  display: flex;
  align-items: center;
  gap: 8px;
}

.impactLevelCard .pcBody {
  display: grid;
  gap: 5px;
}

.impactLevelBadge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.impactLevelCardRestricted .impactLevelBadge {
  background: #c0392b;
}

.impactLevelCard h4 {
  margin: 0;
  color: var(--navy);
  font-size: 14px;
}

.impactLevelCard .pcBody > p {
  margin: 0;
  color: #33445e;
  font-size: 12px;
  line-height: 1.4;
}

.impactLevelCard .pcBody > p b {
  color: var(--navy);
}

.impactLevelVerdict {
  margin-top: 4px !important;
  padding-top: 8px;
  border-top: 1px dashed rgba(23, 103, 232, .2);
  font-style: italic;
  color: var(--muted) !important;
}

@media (max-width: 720px) {
  .teamRoleGrid { grid-template-columns: 1fr; }
  .platformSkillGrid { grid-template-columns: 1fr 1fr; }
  .supportTierGrid { grid-template-columns: 1fr; }
  .hiringZoneGrid { grid-template-columns: 1fr; }
  .impactLevelGrid { grid-template-columns: 1fr; }
}
